Send mail - SMTP using TLS 1.2
Sending mail via Asqatsun does not work, if we want to use the TLS protocol to secure the exchange between the servers.
Resources:
- https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html
- https://javaee.github.io/javamail/docs/api/index.html?com/sun/mail/smtp/package-summary.html
- https://stackoverflow.com/questions/411331/using-javamail-with-tls
- https://stackoverflow.com/questions/13834768/java-mail-over-tls
- https://stackoverflow.com/questions/47166425/how-to-force-javamailsenderimpl-to-use-tls1-2
- https://stackoverflow.com/questions/50707257/how-to-verify-the-tls-version-used-in-javax-mail
- https://stackoverflow.com/questions/5592112/javamail-smtp-properties-for-starttls
- https://stackoverflow.com/questions/17581066/using-javamail-with-a-self-signed-certificate/17584714#17584714
Others resources:
Edited by Fabrice Gangler