Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465 (javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate))
Check out Why using the default javamail-configuration.properties file is a good idea. Gmail requires some extra security on SMTP connections now that makes it tricky to send directly. Using the local postfix server let mail “just work”
Let me know the steps, how to do
Really thank you so much, you saved my time, looks working fine.