You probably want to *read* with pop3/imap, smtp is a transport protocol, not a 
mailbox protocol, 
i,e it is a producing side component.

Cheers.


On Aug 21, 2011, at 1:04 PM, jmls wrote:

> I am wanting to be able to poll my gamail account, process all unread
> messages and send them to either a queue or a topic.
> 
> everytime I try to add a route to camel.xml the service fails to start.
> 
> What is wrong with this ?
> 
> <route>
>            <description>test mail</description>
>            <from
> uri="smtps://smtp.gmail.com?username=[myaccount]&password=[mypassword]&deleteProcessedMessages=false&processOnlyUnseenMessages=true&consumer.delay=60000"/>
>            <to uri="activemq:example.C"/>
> </route>
> 
> 
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/camel-and-email-tp3758909p3758909.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to