Created
October 18, 2019 16:14
-
-
Save WassimBenzarti/890fecc5b8cc1d5d633f2b1fec943e9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JNDI name: mail/<name> | |
Mail Host: smtp.gmail.com | |
Default User: <email> | |
Default Return Address: <email> | |
The JNDI name must be prefixed with "mail/". Use your GMail email address in last two fields. | |
Skip the Advanced settings and create additional properties at the bottom of the screen: | |
mail.smtp.socketFactory.port: 465 | |
mail.smtp.port: 465 | |
mail.smtp.socketFactory.fallback: false | |
mail.smtp.auth: true | |
mail.smtp.password: <gmail_password> | |
mail.smtp.socketFactory.class: javax.net.ssl.SSLSocketFactory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment