camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ybrown <ybr...@opentext.com>
Subject Re: how to delete email after processing it
Date Tue, 30 Jun 2009 16:41:10 GMT

thank you.
The imap worked fine.


Claus Ibsen-2 wrote:
> 
> Hi
> 
> Ah could be the pop3 protocol that have a limited set of features. Try
> with imap.
> 
> There are some links to some SUN documentation on the mail page (SUN
> JavaMail)
> http://camel.apache.org/mail.html
> 
> 
> On Fri, Jun 26, 2009 at 9:13 PM, ybrown<ybrown@opentext.com> wrote:
>>
>> Also, I just turned on the DEBUG on mailComponent
>> and here is what I see
>> Thread: 1 org.apache.camel.component.mail.MailComponent@b81be4 2009-06-26
>> 15:07:48,357 | DEBUG | session=       | user=           |
>> org.apache.camel.component.mail.MailConsumer | Exchange processed, so
>> flagging message as DELETED
>> it seems that message is marked as deleted, but what needs to happen to
>> actually delete it?
>>
>>
>> ybrown wrote:
>>>
>>> you are right, I was actually running it with camel-2-0, I have removed
>>> the jars couple of days ago, but forgot to test it again with this
>>> option.
>>> This time I didn't get an error, but the mail has not been deleted.
>>> I also had a wrong version of java.mail (1.4.2) I just tried with 1.4
>>> and
>>> got the same result.
>>> Can it be that some other jar is of a wrong version or am I still
>>> missing
>>> something.
>>> The deleteProcessedMessages=true is true and Processor is not throwing
>>> an
>>> exception.
>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/how-to-delete-email-after-processing-it-tp24210252p24225783.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-delete-email-after-processing-it-tp24210252p24275330.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message