Two Laptop Bag*
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
IMAP Mail and Mercury Server or not?
problem debugging an IMAP email listener
Doubt regarding javamail API classes (Folder and Store)
pop3 works, imap fails with No login methods supported!
Java Mail Proplem