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!!
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