Unable to send out emails using Gmail SMTP server (smtp.gmail.com)

Issue

Unable to send out emails using Gmail SMTP server (smtp.gmail.com) with the following error messages in the station's standard output.

"javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first."

Authentication has been enabled in the system.properties file as per Lessons Learned Article #2656


 

Product Line

TAC I/A Series

Environment

I/A Series R2

Cause

As with most public SMTP servers, like Gmail, the outgoing mail SMTP server requires TLS (Transport Layer Security) or SSL (Secure Sockets Layer) which I/A Series R2 does not support.

Resolution

Use a SMTP server that does not require TLS or SSL.