Closed rblazquez closed 2 years ago
Hello,
Hope you can help me with a weird behaviour.
Ive been using thie plugin with gmail and find no problems but now im changing to a new mail provider and im having an error:
ERROR job.MailSendJob - Unable to send email org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.xxxxxxxx.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: smtp.xxxxxxxx.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?; message exceptions (1) are: Failed message 1: javax.mail.MessagingException: Could not connect to SMTP host: smtp.xxxxxxxx.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
My configuration is:
grails { mail { host = "smtp.xxxxxxxx.com" port = 587 username = "xxxxxxxx@xxxxxxxx.com" password = "xxxxxxxx" props = ["mail.smtp.starttls.enable":"true", "mail.smtp.socketFactory.port":"587", ] } }
Can you help me to figure out whats happening?
I solved it removing the "props" entry.
But still not sure what was the problem.
Seems you are using a plain text connection.
Hello,
Hope you can help me with a weird behaviour.
Ive been using thie plugin with gmail and find no problems but now im changing to a new mail provider and im having an error:
ERROR job.MailSendJob - Unable to send email org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.xxxxxxxx.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: smtp.xxxxxxxx.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?; message exceptions (1) are: Failed message 1: javax.mail.MessagingException: Could not connect to SMTP host: smtp.xxxxxxxx.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
My configuration is:
grails { mail { host = "smtp.xxxxxxxx.com" port = 587 username = "xxxxxxxx@xxxxxxxx.com" password = "xxxxxxxx" props = ["mail.smtp.starttls.enable":"true", "mail.smtp.socketFactory.port":"587", ] } }
Can you help me to figure out whats happening?