Created
October 15, 2012 09:08
-
-
Save bryanchug/3891589 to your computer and use it in GitHub Desktop.
Grails Config.groovy mail config snippet to connect SMTP to Gmail
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
grails { | |
mail { | |
host = "smtp.gmail.com" | |
port = 465 | |
username = "username@gmail.com" | |
password = "password" | |
props = ["mail.smtp.auth":"true", | |
"mail.smtp.socketFactory.port":"465", | |
"mail.smtp.socketFactory.class":"javax.net.ssl.SSLSocketFactory", | |
"mail.smtp.socketFactory.fallback":"false"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment