Unrecognized SSL message, plaintext connection? Exception
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
You should have a local SMTP domain name that will contact the mail server and establishes a new connection as well you should change the SSL property in your programming below
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection props.put("mail.smtp.socketFactory.fallback", "true"); // Should be true