dcsimg
Can I use JavaMail API from behind a proxy
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   biju_thomas
Posted On:   Monday, July 2, 2001 06:27 AM

Do I need to do any settings for using the JavaMail API frpm behind a proxy. Currently when I try to use the JavaMail APIs to send or fetch a mail from a server outside my proxy, I get the following error Exception in thread "main" javax.mail.MessagingException: Connect failed; nested exception is: java.net.NoRouteToHostException: Operation timed out: no further informa tion at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:106) at javax.mail.Service.connect(Service.java:234) at javax.mail.Service.connect(Service.java:135) at GetMessageExample.main(GetMessageExample.java:23) Can anybody please help me to understand t   More>>

Do I need to do any settings for using the JavaMail API frpm behind a proxy.


Currently when I try to use the JavaMail APIs to send or fetch a mail from a server outside my proxy, I get the following error


Exception in thread "main" javax.mail.MessagingException: Connect failed;
nested exception is:
java.net.NoRouteToHostException: Operation timed out: no further informa
tion
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:106)
at javax.mail.Service.connect(Service.java:234)
at javax.mail.Service.connect(Service.java:135)
at GetMessageExample.main(GetMessageExample.java:23)



Can anybody please help me to understand this problem. So that I can use these APIs to connect to servers outside my proxy?

   <<Less
About | Sitemap | Contact