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 ] [DefaultEmailService] Could not send e-mail pk  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