Advertisement
OeleGeirnaert

SendMail Grails Plugin

Apr 24th, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.39 KB | None | 0 0
  1. grails {
  2.     mail {
  3.       host = "smtp.gmail.com"
  4.       port = 465
  5.       username = "YOURUSERACCOUNT@gmail.com" //CHANGE TO YOUR USER ACCOUNT
  6.       password = "YOURPASSWORD" //CHANGE TO YOUR PASSWORD
  7.       props = ["mail.smtp.auth":"true",
  8.                "mail.smtp.socketFactory.port":"465",
  9.                "mail.smtp.socketFactory.class":"javax.net.ssl.SSLSocketFactory",
  10.                "mail.smtp.socketFactory.fallback":"false"]
  11.     }
  12.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement