javamail error while using imap
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   karthik_rajan
Posted On:   Friday, August 17, 2001 04:57 AM

when i use pop3 Properties props = new Properties(); Session s = Session.getInstance(props,null); Store store = s.getStore("pop3"); < < < >> Store store = s.getStore("imap"); i'm getting error like javax.mail.MessagingException: Connection refused: no further information; nested exception is: java.net.ConnectException: Connection refused: no further information at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:145) at javax.mail.Service.connect(Service.java:227) at javax.mail.Service.connect(Service.java:131) what to do how to solve>> please tell me thanks in advance    More>>

when i use pop3

Properties props = new Properties();
Session s = Session.getInstance(props,null);
Store store = s.getStore("pop3");

< < < >>

Store store = s.getStore("imap");
i'm getting error like

javax.mail.MessagingException: Connection refused: no further information; nested exception is:
java.net.ConnectException: Connection refused: no further information
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:145)
at javax.mail.Service.connect(Service.java:227)
at javax.mail.Service.connect(Service.java:131)

what to do how to solve>>
please tell me
thanks in advance

regards
karthik

   <<Less

Re: javamail error while using imap

Posted By:   Ethan_Teh  
Posted On:   Monday, December 10, 2001 08:46 PM

Please refer to this link.
http://www.jguru.com/forums/view.jsp?EID=509667.

Most probably it is your mail sever may not support IMAP4 protocol.
About | Sitemap | Contact