Unsupported or unrecognized SSL message - SSLException

Konrad2 years ago

I have configured smtp gmail according:

<entry key='mail.smtp.port'>587</entry>
<entry key='mail.smtp.starttls.enable'>true</entry> 
<entry key='mail.smtp.ssl.protocols'>TLSv1.2</entry> 
<entry key='mail.smtp.host'>smtp.gmail.com</entry>
<entry key='mail.smtp.from'>mydevice@gmail.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>mydevice@gmail.com</entry>
<entry key='mail.smtp.password'>mydevice_password</entry>

But when I send notification obtains that error:

Unsupported or unrecognized SSL message - SSLException (... < MailManager:143 < *:96 < NotificatorMail:34 < NotificationResource:63 < ...)
Anton Tananaev2 years ago

Is there a reason you're not following the documentation?

https://www.traccar.org/gmail/