It seems I tried mail in the way his docs spoke, but still I get:
Error 500: Executing action [x] of controller [x] caused exception: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP
I use Google apps for my email - me@dogself.com uses gmail. I cannot get grails to send a test message in my dev block (win 7).
my config:
host = "smtp.gmail.com"
port = 465
username = "autoresponse@dogself.com"
password = "x"
props = ["mail.smtp.auth":"true",
"mail.smtp.debug":"true",
"mail.smtp.starttls.enable":"true",
"mail.smtp.socketFactory.port":"465",
"mail.smtp.socketFactory.class":"javax.net.ssl.SSLSocketFactory",
"mail.smtp.socketFactory.fallback":"false"]
change
i need to have some kind of signed key to support ssl connection for gmail?
source
share