Advertisement
Guest User

Untitled

a guest
May 5th, 2016
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. grails.mail.host = "smtp.gmail.com"
  2. grails.mail.username = "name@domain.com"
  3. grails.mail.port = 465
  4. grails.mail.password = "******"
  5. grails.mail.props = ["mail.smtp.starttls.enable":"true","mail.smtp.auth":"true","mail.smtp.socketFactory.port":"465","mail.smtp.socketFactory.fallback":"false"]
  6.  
  7. 2016-05-05 14:49:30,557 ERROR NotificationService - Error sending notification email to me@gmail.com for Execution 11: Mail ser
  8. ver connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: "smtp.gmail.com", 465; ti
  9. meout -1;
  10. nested exception is:
  11. java.net.UnknownHostException: "smtp.gmail.com". Failed messages: com.sun.mail.util.MailConnectException: Couldn't connect to host,
  12. port: "smtp.gmail.com", 465; timeout -1;
  13. nested exception is:
  14. java.net.UnknownHostException: "smtp.gmail.com"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement