This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
It is sorta covered in the JavaRanch Style Guide.
 
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