Hello, I am searching for almost 5 hours how to send an non-authenticated/authenticated email through javamail with gmail as SMTP server.
I do not want to use SSL but I rather prefer TLS.
The problem is, that i keep having this error:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
here is my code:
i don't understand why it keeps saying this error.
please can anybody help me out? (I have the mail.jar & activation.jar in my lib)