0

The email settings was setup using a gmail account and when testing it the error below is returned.

[Error] org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:587

The settings are host: smtp.gmail.com, port:587 and STARTTLS/SSL Enabled.

naz
  • 1,478
  • 2
  • 21
  • 32

1 Answers1

0

Try a combination of enabling STARTTLS and disabling SSL.

Naoki Takezoe
  • 471
  • 2
  • 7
  • Gmail blocks sending email from unreliable apps in default by security reason. Have you changed a setting of your Gmail account to allow that? – Naoki Takezoe Apr 03 '18 at 00:34