Menu

#1 Issue using GMail SMTP server

open
nobody
None
5
2009-04-01
2009-04-01
Anonymous
No

Whenever you attempt to configure the SMTP handler to use GMail's SMTP server it fails because it requires TLS to be used. I have got this working by amending the SMTPHandler code to set the JavaMail property "mail.smtp.starttls.enable" to "true" in the "sendBuffer" method. I have done this by adding a new property "smtphandler.SMTPHandler.starttls=true" to the logging.properties file.

Discussion


Log in to post a comment.