Java mailRoshan Chaudhary April 11, 2012 at 12:49 AM
why i am getting the error shown below. i have used "mail.informaticscollege.edu.np" as host and used pop3 as protocol.
--------------------------------------------------------------
run:
Exception in thread "main" javax.mail.MessagingException: Connect failed;
nested exception is:
java.io.IOException: Connect failed
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:210)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
at ReadMail.main(ReadMail.java:24)
Caused by: java.io.IOException: Connect failed
at com.sun.mail.pop3.Protocol.<init>(Protocol.java:122)
at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:261)
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:206)
... 3 more
Java Result: 1
BUILD SUCCESSFUL (total time: 2 seconds)
read email without opening it.sammy June 6, 2011 at 9:00 AM
please help me.i want to know how to read email without opening it using java mail..
partial outputresh March 5, 2012 at 9:44 PM
I got the above output except the content of the message.. Can anybody please help me out
ErrorSencer April 5, 2012 at 11:57 AM
i am take it error is : connection time out..
Java mailRoshan Chaudhary April 11, 2012 at 12:49 AM
why i am getting the error shown below. i have used "mail.informaticscollege.edu.np" as host and used pop3 as protocol. -------------------------------------------------------------- run: Exception in thread "main" javax.mail.MessagingException: Connect failed; nested exception is: java.io.IOException: Connect failed at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:210) at javax.mail.Service.connect(Service.java:295) at javax.mail.Service.connect(Service.java:176) at ReadMail.main(ReadMail.java:24) Caused by: java.io.IOException: Connect failed at com.sun.mail.pop3.Protocol.<init>(Protocol.java:122) at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:261) at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:206) ... 3 more Java Result: 1 BUILD SUCCESSFUL (total time: 2 seconds)
Post your Comment