I have tried all the solutions mentioned above, but I am still getting the error below in the SMTP server logs. Any suggestion would be appreciated.
Java 1.8
SMTP Port: 25 (as provided by our SMTP team)
Javax.mail: 1.6.2
TLS negotiation failed with error SocketError
Remote(SocketError)