From c102c45689d86f41b1c36a7bd69526cf59132cd0 Mon Sep 17 00:00:00 2001 From: 2005525 Date: Thu, 30 May 2019 20:43:44 +0800 Subject: [PATCH] fix-bug Could not connect to SMTP host: smtp.exmail.qq.com, port: 465, response: -1 --- xxl-job-admin/src/main/resources/application.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/xxl-job-admin/src/main/resources/application.properties b/xxl-job-admin/src/main/resources/application.properties index 3d13f9a2..ad8be387 100644 --- a/xxl-job-admin/src/main/resources/application.properties +++ b/xxl-job-admin/src/main/resources/application.properties @@ -37,6 +37,7 @@ spring.mail.password=xxx spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.starttls.enable=true spring.mail.properties.mail.smtp.starttls.required=true +spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory ### xxl-job, access token xxl.job.accessToken=