from the stack trace it looks like its just a simple connection
refused while trying to connect to the pop3 server,  try to telnet
pop.mail.yahoo.fr 995 from the commandline to see if you have a
firewall or something similar blocking the connection

SSL support in the would be a matter of getting camel to recognize a
pop3s uri if it doesnt already and making sure the protocol is set to
pop3s in the endpoints mail configuration rather than pop3

Cheers,
Jason

On Nov 29, 2007 4:19 AM, xtof <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm trying to implement a ServiceMix binding component for retreiving mails
> from a pop3 server.
>
> For instance reading yahoo mails.
>
> But how configuring ssl on the pop3 mail endpoint?
>
> by Camel context is the following:
>
> <camelContext id="camel"
> xmlns="http://activemq.apache.org/camel/schema/spring";>
>     <route>
>       <from uri="pop3://[EMAIL PROTECTED]:995?password=xxxxxx"/>
>       <to uri="jbi:service:http://test.com/mail/router"/>
>     </route>
> </camelContext>
>
>
> Running this example I've got the following Java Exception Stack:
>
> Caused by: org.springframework.mail.MailSendException; nested exceptions (0)
> are:
>         at
> org.apache.camel.component.mail.JavaMailConnection.getFolder(JavaMailConnection.java:40)
>         at
> org.apache.camel.component.mail.MailEndpoint.createConsumer(MailEndpoint.java:61)
>         at
> org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:67)
>         at org.apache.camel.Route.getServicesForRoute(Route.java:72)
>         at
> org.apache.camel.impl.DefaultCamelContext.startRoutes(DefaultCamelContext.java:466)
>         at
> org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:442)
>         at
> org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:140)
>         at
> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:51)
>         at
> org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:96)
>         ... 27 more
> Caused by: javax.mail.MessagingException: Connect failed;
>   nested exception is:
>         java.net.ConnectException: Connection refused: connect
>         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
>         at javax.mail.Service.connect(Service.java:275)
>         at
> org.apache.camel.component.mail.JavaMailConnection.getFolder(JavaMailConnection.java:37)
>         ... 35 more
> Caused by: java.net.ConnectException: Connection refused: connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>
>
> Could you help?
>
> Thank
> Christophe
>
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/mail-pop3-and-ssl---how-to-do--tf4896801s22882.html#a14024595
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Reply via email to