aspose file tools*
The moose likes Beginning Java and the fly likes Unable connect to IMAP server through java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Unable connect to IMAP server through java program" Watch "Unable connect to IMAP server through java program" New topic
Author

Unable connect to IMAP server through java program

Rajesh Swain
Greenhorn

Joined: Feb 05, 2007
Posts: 3
I have a program to read mails from inbox of an IMAP server.I have telnet successfully to the server with the user ID password of that inbox.I m also able to login into my inbox to check mail. But my code is unable to contact that mail box.
It's giving the following Error.


Javax.mail.AuthenticationFailedException: connection attempt failed ;Server may be down or too busy to respond.

even the ping response is about 5 ms.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Can we see your code?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable connect to IMAP server through java program