Currently to configure those timeouts, a system wide property needs to be configured, at JVM level (-Dmail.smtp.timeout)
Description
Create additional methods to support timeouts, as described by the following properties
mail.smtp.connectiontimeout
mail.smtp.timeout
Reference
http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-summary.html
Currently to configure those timeouts, a system wide property needs to be configured, at JVM level (-Dmail.smtp.timeout)