The system fails to send an email due to a MailConnectException:
com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 587; timeout -1;
nested exception is:
java.net.ConnectException: Connection timed out: connect
But then it just goes on and says "I have sent an email to XYZ...". It needs to say something like "I am having trouble contacting XYZ by email right now. Please try again later".
@lring @candysidner
The system fails to send an email due to a MailConnectException:
com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 587; timeout -1; nested exception is: java.net.ConnectException: Connection timed out: connect
But then it just goes on and says "I have sent an email to XYZ...". It needs to say something like "I am having trouble contacting XYZ by email right now. Please try again later".