JavaMail API - Gmail SMPT Server
www.tutorialspoint.com › javamail_api › javamail_apiGmail SMTP server details can be found here. As you can see in the details, we can use either TLS or SSL connection to send email via Gmail SMTP server. The procedure to send email using Gmail SMTP server is similar as explained in chapter Sending Emails, except that we would change the host server. As a pre-requisite the sender email address ...