This question as same as DarrenBiz asked on February 02, 2015 ,but i can‘t find the answer. Here is the queation
I am trying to configure the Day CQ Mail Service for SMTP on AEM 6.0 using Gmail and while I have set the port to 465 and SSL in the config, it is trying to send using port 25 (and failing)
Is this a known issue and if so, what is the patch for this?
03.02.2015 12:00:37.429 *ERROR* [pool-6-thread-11-null(null)] com.day.cq.workflow.impl.email.EMailNotificationService error while sending email for com.day.cq.workflow.impl.exec.CQWorkItemWrapper@1e71db83: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:25
smacdonald2008 Is there any solution for this issue. I am creating a workflow which send mail, to test it i have configured Day CQ mail service to use port 465 for gmail smtp server but still cq is sending request using port 25.
Screenshot for configuration is attached. Please let me know if i am doing anything wrong.
Version : AEM 6.2
Error i am getting:
CustomStep Error in Sending mailcom.day.cq.mailer.MailingException: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:25