Skip to Content
0
Former Member
Jul 04, 2017 at 11:27 AM

Sending email failed with smtp.gmail.com:587

2208 Views

I am trying to send emails, when I try to send mails using Java Mail Service, I can do that.

But When I use Hybris Email Templates and try send to send emails via Email Event and Listener, I am getting the following error.

[33mWARN [TaskExecutor-master-192-ProcessTask [8796256928694]] [DefaultEmailService] Could not send e-mail pk [8796256901184] subject [ Create Profile] cause: Sending the email to the following server failed : smtp.gmail.com:587

Internally I am getting the following error, when I do the debug.

com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. 10sm12503976pfo.134 - gsmtp