javax.mail.MessagingException Could not convert socket to TLS
Symptons
Error could not convert socket to TLS when trying to send a email.
Cause
Email connection requires trust host.
Resolution
Add the configuration parameter "mail.smtp.ssl.trust
" and "mail.smtp.ssl.
protocols" in your email configuration.
In case of OpenKM version 7, edit the file openkm.properties and add:
mail.smtp.ssl.protocols=TLSv1.2
mail.smtp.ssl.trust
=smtp.gmail.com
Restart the OpenKM service to take effect.
Properties
Properties | |
---|---|
Date |
2021-06-01 |
Applies to |
|
Keywords
- AllVersions