Day CQ Mail Service with Gmail as SMTP
Hi All,
I am trying to send email in AEM via CQ Mail Service and using below blog -
https://techrevel.blog/2023/06/12/utilizing-gmail-smtp-for-cost-free-email-transmission-from-aem/
But getting below errors -
1. Gmail - Port 587
EmailException: Sending the email to the following server failed : smtp.gmail.com:587
EmailException: Sending the email to the following server failed : smtp.gmail.com:587
MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587
SSLException: Unsupported or unrecognized SSL message
2. Gmail - Port 465
EmailException: Sending the email to the following server failed : smtp.gmail.com:465
EmailException: Sending the email to the following server failed : smtp.gmail.com:465
AuthenticationFailedException: 535-5.7.8 Username and Password not accepted.
https://support.google.com/mail/?p=BadCredentials
3. Yahoo - Port 465
EmailException: Sending the email to the following server failed : smtp.mail.yahoo.com:465
SMTPSendFailedException: 550 Request failed; Mailbox unavailable
SMTPSenderFailedException: 550 Request failed; Mailbox unavailable
4. Yahoo - Port 587
EmailException: Sending the email to the following server failed : smtp.mail.yahoo.com:587
EmailException: Sending the email to the following server failed : smtp.mail.yahoo.com:587
MessagingException: Could not connect to SMTP host: smtp.mail.yahoo.com, port: 587
SocketException: Connection reset
Any help @arunpatidar, @estebanbustamante, @imran__khan, @aanchal-sikka,
