Update email service backend to TLS 1.2
mdehollander opened this issue · comments
Mattias de Hollander commented
When I configure the community edition of Nextflow Tower with an outlook365 email account, I get this message:
backend_1 | 16:34:56.654 [Mailer thread] ERROR i.s.t.service.mail.MailServiceImpl - Unexpected error sending mail (await 546750 ms) | 421 4.7.66 TLS 1.0 and 1.1 are not supported. Please upgrade/update your client to support TLS 1.2. Visit https://aka.ms/smtp_auth_tls. [****.prod.outlook.com]
It seems the mailer needs to get an upgrade to support TLS 1.2
avik commented
I've managed to skip this error for outlook365 after updating javax mail library to v1.6 on the tower-backend/build.gradle
(replace compile "javax.mail:mail:1.4.7"
with compile "com.sun.mail:javax.mail:1.6.2"
).
nf-tower/tower-backend/build.gradle
Line 58 in 92e95cd