vert-x/mod-mailer — pull request #6 by hzwaal (2012-12-12 14:49:49+00:00)
Title: Secure SMTP is broken

The port number is set as an Integer (boxed from an int) in the Properties object. However, the (com.sun.mail.smtp.)SMTPTransport class retrieves this property as a String and then tries to parse an int from it. This obviously fails.

According to the documentation (http://javamail.kenai.com/nonav/javadocs/com/sun/mail/smtp/package-summary.html) all properties must be Strings. I've changed this for the mail.smtp.socketFactory.port and mail.smtp.socketFactory.fallback properties.