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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Unable connect to IMAP server through java program
 
Similar Threads
pop3 works, imap fails with No login methods supported!
Java Mail Proplem
IMAP Mail and Mercury Server or not?
problem debugging an IMAP email listener
Doubt regarding javamail API classes (Folder and Store)