Jens Heitmann created EMAIL-213:
-----------------------------------
Summary: setSSLOnConnect sets wrong socket factory
Key: EMAIL-213
URL: https://issues.apache.org/jira/browse/EMAIL-213
Project: Commons Email
Issue Type: Bug
Affects Versions: 2.0.0-M1
Environment: tomee 10.1.2
Reporter: Jens Heitmann
Settings setSSLOnConnect sets MAIL_SMTP_SOCKET_FACTORY_CLASS to
javax.net.ssl.SSLSocketFactory. Due to the fact that this is an abstract class
in newer Java versions it is not working to use ist.
Sending mail with apache tomee / Geronimo mail to port 465 or 587 fails with a
"Error connecting". Unsetting this to an empty string works.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)