SMTP service uses incorrect port | Community
Skip to main content
DarrenBiz
Level 6
October 16, 2015
Solved

SMTP service uses incorrect port

  • October 16, 2015
  • 3 replies
  • 1636 views

I am trying to configure the Day CQ Mail Service for SMTP on CQ 5.6.1 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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Logging is not correct & issue is filled. But it will use the port 465. Agree it causes lot of confusion please file an support request

3 replies

DarrenBiz
DarrenBizAuthor
Level 6
October 16, 2015

Also, looking at the DEBUG output, it seems as if it is using port 465, but SSL is false. Which should I believe?

[img]day_cq_mail_service_2.png[/img]

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Logging is not correct & issue is filled. But it will use the port 465. Agree it causes lot of confusion please file an support request

DarrenBiz
DarrenBizAuthor
Level 6
October 16, 2015

Thanks Sham - issue logged with DayCare