Re: Camel iMap - ignore SSL certificat

2015-11-28 Thread Claus Ibsen
Ah the dummy impl classes was not in camel-mail JAR by default. Logged a ticket about this: https://issues.apache.org/jira/browse/CAMEL-9374 On Sat, Nov 28, 2015 at 9:35 AM, Claus Ibsen wrote: > There is a dummyTrustManager option you can just set = true > > On Tue, Nov 24, 2015 at 4:37 PM, zied

Re: Camel iMap - ignore SSL certificat

2015-11-28 Thread Claus Ibsen
There is a dummyTrustManager option you can just set = true On Tue, Nov 24, 2015 at 4:37 PM, zied123456 wrote: > i'm using imap endpoint and i try to ignore SSL certificat by using: > > > the First class *DummySSLSocketFactory* : > > public class DummySSLSocketFactory extends SSLSocketFactory { >

Re: CAMEL imap component: invalid provider

2015-10-16 Thread Claus Ibsen
See this FAQ http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html On Fri, Oct 16, 2015 at 10:45 AM, zied123456 wrote: > I already used: > > uri="imap://server/?username=${header.adressemail}&password=${header.password}"/> > > Also i use a split before to browse file. After, i extract > ${

Re: CAMEL imap component: invalid provider

2015-10-16 Thread zied123456
I already used: Also i use a split before to browse file. After, i extract ${header.adressemail} and ${header.password} from each line and send them dynamically to iMap. -- View this message in context: http://camel.465427.n5.nabble.com/CAMEL-imap-component-invalid-provider-tp5772621p5772706

Re: CAMEL imap component: invalid provider

2015-10-16 Thread Claus Ibsen
Then use for your mail On Fri, Oct 16, 2015 at 9:58 AM, zied123456 wrote: > i should read mails not send. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/CAMEL-imap-component-invalid-provider-tp5772621p5772698.html > Sent from the Camel - Users mailing list arc

Re: CAMEL imap component: invalid provider

2015-10-16 Thread zied123456
i should read mails not send. -- View this message in context: http://camel.465427.n5.nabble.com/CAMEL-imap-component-invalid-provider-tp5772621p5772698.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CAMEL imap component: invalid provider

2015-10-13 Thread Claus Ibsen
Use smtp for sending emails. eg use smtp in your On Tue, Oct 13, 2015 at 4:12 PM, zied123456 wrote: > This is the route: > > > > > > > > > This is the route: > > > > > > > > when i run it i got this error: > > javax.mail.NoSuchProviderException: invalid pro

Re: camel-imap

2015-02-04 Thread Mezai 279
Thank You, Will try this option. On Wed, Feb 4, 2015 at 12:52 PM, Morgan Hautman wrote: > Mezai, > > Why don't you persist the last number you processed and put in a > PropertyPlaceholder when polling again? > > http://camel.apache.org/using-propertyplaceholder.html > > Little example I made: >

Re: camel-imap

2015-02-03 Thread Morgan Hautman
Mezai, Why don't you persist the last number you processed and put in a PropertyPlaceholder when polling again? http://camel.apache.org/using-propertyplaceholder.html Little example I made: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta

Re: camel-imap

2015-02-03 Thread Mezai 279
Thanks a ton!! this worked for me... I have done some thing like below: My processor in the route *folderNameProcesor,*has a static variable and every time processor is cal

Re: camel-imap

2015-02-03 Thread Bart Horré
If I read the docs of copyTo correctly you should be able to change to add a header with the copyTo value at runtime. *Camel 2.10:* Consumer only. After processing a mail message, it can be copied to a mail folder with the given name. You can override this configuration value, with a header with t

Re: camel-imap

2015-02-03 Thread Mezai 279
Thanks Bart Horre! Here i want to change a particular attribute in the copyTo should be changed dynamically each time it is polling the mail server. I believe recipient list will not be helpful here. -Thanks Sasi On Tue, Feb 3, 2015 at 7:10 PM, Bart Horré wrote: > Hi, > > you could use a

Re: camel-imap

2015-02-03 Thread Bart Horré
Hi, you could use a recipient list to dynamically identify the endpoint. http://camel.apache.org/recipient-list.html Bart Horré Anova r&d bvba On Tue, Feb 3, 2015 at 10:39 AM, Mezai 279 wrote: > I m planning to write a route which will have to move messages from inbox > to four different fold

Re: Camel IMAP

2012-06-15 Thread Dokkana
thaks alot -- View this message in context: http://camel.465427.n5.nabble.com/Camel-IMAP-tp5714453p5714566.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel IMAP

2012-06-13 Thread Claus Ibsen
Hi If you use Camel to send the email, you can use interceptors to do some work before sending. http://camel.apache.org/intercept This requires you are using Camel routes, to let the interceptors be able to kick-in. On Wed, Jun 13, 2012 at 9:23 PM, Dokkana wrote: > can i intercept using Camel