Symptom
The property "mail.use.tls" is set to false due to changes in JDK21 and the connection to the mail server. The property value "mail.use.tls" reverts to its default value during application startup.
Error messages observed:
- "Could not send email. Make sure your mail properties (mail.*) are correctly set."
- "Sending the email to the following server failed: smtp-ext.xxx.de:25"
- "Could not convert socket to TLS"
- "SSLHandshakeException: No subject alternative DNS name matching smtp-ext.xxx.de found
Read more...
Environment
- Product: SAP Commerce Cloud
- Environment Management
Product
Keywords
mail.use.tls, property value, revert, application startup, commerce cloud, email sending failure, SMTP, TLS, configuration, local.properties, production persona, runtime configuration, error messages, SSLHandshakeException, certificate error, email exception, background processing , KBA , CEC-SCC-CLA-ENV-EMG , Environment Management , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview