This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes connection failure exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "connection failure exception" Watch "connection failure exception" New topic

connection failure exception

gayathri murugesan
Ranch Hand

Joined: Dec 21, 2009
Posts: 32
i have an application where unread messages must be retrieved from the gmail server inbox whenever it arrives.

the loop is executing for 15 times and the unread messages are retrieved but after 15 times i am getting exception

javax.mail.MessagingException: connection failure
at com.sun.mail.imap.IMAPStore.getProtocol(
at EmailClient$
at Source)

why is it there any other way to do the same.

I agree. Here's the link:
subject: connection failure exception
It's not a secret anymore!