Hi everyone,
I have configured the email notification in AEM Cloud, but I am still experiencing a timeout.
The error message is as follows:
"Sending the email to the following server failed: email-smtp.<<name>>.com:465
Couldn't connect to host, port: email-smtp.<<name>>.amazonaws.com, 465; timeout 30000"
* com.day.cq.mailer.DefaultMailService.cfg.json
{
"debug.email": "true",
"smtp.host": "$[env:SMTP_HOST;default=]",
"smtp.password": "$[secret:SMTP_PASSWORD;default=]",
"from.address": "$[env:SMTP_FROM_ADDRESS;default=]",
"smtp.port": "465",
"smtp.ssl": "true",
"smtp.user": "$[env:SMTP_USER;default=]"
}
ERROR:
com.day.cq.mailer.MailingException: org.apache.commons.mail.EmailException: Sending the email to the following server failed : email-smtp.<<name>>.amazonaws.com:465
at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailService.java:334) [com.day.cq.cq-mailer:5.15.2]
at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailService.java:46) [com.day.cq.cq-mailer:5.15.2]
at com.adobe.acs.commons.email.impl.EmailServiceImpl.sendEmail(EmailServiceImpl.java:194) [com.adobe.acs.acs-aem-commons-bundle:5.4.0]
at com.adobe.acs.commons.email.impl.EmailServiceImpl.sendEmail(EmailServiceImpl.java:221) [com.adobe.acs.acs-aem-commons-bundle:5.4.0]
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:266) [org.apache.sling.api:2.27.6]
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342) [org.apache.sling.api:2.27.6]
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374) [org.apache.sling.api:2.27.6]
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:544) [org.apache.sling.engine:2.15.18]
But in local i sents successfully, and in smpt user i don't set any permission boundary,
Please help any idea with it. Please suggest to me,
Many Thanks