The client is using AEM 6.4 SP2. The corporate mail server uses TLS. hence, in the Day CQ Mail Service, the TLS has been enabled.
The corporate mail server also requires that the mail sender turn off the hostname verification. Is there any way, the Day CQ Mail Service can turn off the hostname verification?
The alternative would be to write a custom "send mail" code that has the hostname verification turned off. Of course, the first preference would be to use the out of of box Day CQ Mail Service instead.
Thanks very much for reviewing my question in this post!!
Solved! Go to Solution.
I checked the code for default mail service and it just reads the options available at "Day CQ Mail Service" and process the email. As far as I can check, there is no option to disable hostname verification and you have to write a custom mail service.
I checked the code for default mail service and it just reads the options available at "Day CQ Mail Service" and process the email. As far as I can check, there is no option to disable hostname verification and you have to write a custom mail service.
JaideepBrar, much appreciate responding to your quick response. I would agree with your rationale that if the implementation does not have any option (to turn on/off hostname verification), it does not implement it. May I ask where I could view the code for "com.day.cq.mailer.DefaultMailService" implementation? Thanks again
Views
Replies
Total Likes
Rajnish, It's Adobe internal code and only available for Adobe employees.
Thanks much JaideepBrar. Perfectly understandable.
Views
Replies
Total Likes
Views
Likes
Replies