All:
Answering my question, I experienced this myself.
How do I handle this in Java / JavaMail? Is it possible to catch and handle this timeout?
Yes, it is automatically called as javax.mail.MessagingException .
javax.mail.MessagingException: Exception reading response;
nested exception is:
java.net.SocketTimeoutException: Read timed out
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
This exception is selected in this line:
Transport.connect ();
, / , SMTP-? "
?