SMTP service uses incorrect port

Avatar

Avatar

Jing_Luo

Avatar

Jing_Luo

Jing_Luo

15-10-2015

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?

Config:

[img]day_cq_mail_service.png[/img]

Error:

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

Thanks before,

Jing

View Entire Topic

Avatar

Avatar

Jing_Luo

Avatar

Jing_Luo

Jing_Luo

15-10-2015

Hi, I tried it, but it didn't work,and I also created a custom cq email services with Maven. It also can't send a email with Gmail.

I've given up using Gmail mailbox.

Thanks,wink