It seems that the TLS configuration is different from your local one. You can try enabling detailed logging to troubleshoot the issue.
prop.put("mail.debug", "true");
It could also be a network issue. You can try running the following command to check network connectivity:
telnet 172.105.90.58 25