Broadcasting issue 'Could not convert socket to TLS'

Dylan Verhagen shared this problem 3 years ago
Resolved

Dear support,

Since a week or two we started getting broadcast failures with the error 'Error sending email: javax.mail.MessagingException: Could not convert socket to TLS;

nested exception is:

javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

javax.mail.MessagingException: Could not convert socket to TLS;'


The strange thing is that this seems to happen randomly since most other broadcasts seem to work just fine.

We're currently using an Office365 email to broadcast the reports and our vendor put forward the idea that it might had to do with an old version of TLS (1.0/1.1).

I came across one of your articles explaining how to force TLS 1.2 (https://community.yellowfinbi.com/knowledge-base/article/how-to-connect-to-a-mail-server-that-forces-tls-1-2) but am having issues with step 1.

How do I 'ensure' that we're using 'javax.mail-1.6.2.jar'?

I've done all the other steps but according to the mail log it's still using 'javamail-1.5.2.jar'. I added a part of the mail log (with debugging on), hopefully you can point me in the right direction to get this issue resolved.

Regards,

Dylan

Replies (0)

Leave a Comment
 
Attach a file