


Hi,
Please let me know the SMTP configuration that needs be configured in Day CQ Mail Service to connect to gmail.
I have tried the following
# Configuration created by Apache Sling JCR Installer
smtp.password="my gmail account password"
debug.email=B"false"
smtp.port=I"465"
smtp.user="username"
smtp.ssl=B"false"
from.address="my gmail id"
smtp.host="smtp.gmail.com"
I have tried the port numbers both 465 and 587.
https://myaccount.google.com/lesssecureapps . I have turned on this setting as well. But I am not able to connect getting the connection refused error.
Please help me in this regard.
Thanks in advance
Regards,
Vijaya
Views
Replies
Sign in to like this content
Total Likes
Hi ,
Can you try to enable SSL?
Below is google smtp relay servers details
Fully qualified domain name of SMTP service | ||
smtp-relay.gmail.com | smtp.gmail.com | aspmx.l.google.com |
Configuration options | ||
|
|
|
Can you check STEP 2 also at Send email from a printer, scanner, or app - G Suite Administrator Help
Thanks
Arun
Views
Replies
Sign in to like this content
Total Likes
Try writing your own email serve using Java MAIL API. See if that works for your use case. See this article -- Scott's Digital Community: Creating custom CQ email services
For some reason - gmail and MessageServiceGateway seems to produce issues.
Views
Replies
Sign in to like this content
Total Likes