[
https://issues.apache.org/jira/browse/EMAIL-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Heitmann resolved EMAIL-213.
---------------------------------
Resolution: Fixed
Geronimo bug. Geronimo tries to instantiate SocketFactory class with
newInstance() call, which doesn't work with default SSLSocketFactory (abstract
class)
> 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
> Priority: Major
>
> 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)