An app trying to send emails out to an SMTP server on TLS was receiving the following java error
javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: java.net.SocketException: Connection reset
Issue was due to a fortigate Firewall block , make sure its whitelisted and the policy is the correct order ( Above the main outbound rule )