This content has been marked as final. Show 2 replies
Are you setting a new default SSLContext?
By default, JavaMail will use the default SSLSocketFactory, which (I believe) by default will use the default SSLContext.
You can also set the property mail.<protocol>.ssl.protocols to the protocol you want to be used,
which will be passed to the SSLSocket.setEnabledProtocols method.