Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

javax.mail.messagingexception: connection failure

I am writing an email reader application and I have noticed that when I try to connect (sometimes) I get the following exception:  

javax.mail.messagingexception: connection failure.
This problem also does not happen consistently.
Any suggestions on how to handle it?
0
Genus1
Asked:
Genus1
1 Solution
 
CEHJCommented:
Could be a flaky network connection
0
 
objectsCommented:
catch the exception and retry making the connection

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now