From 2e241037f1e9bb4f0f4f44cb4968a3c4edc5be51 Mon Sep 17 00:00:00 2001 From: "Yuan, Harry Hongbin" Date: Thu, 16 May 2024 16:19:47 +0200 Subject: [PATCH] rever to 163 mail (#248) --- src/main/resources/application.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 8292e0b9..ae252cc4 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -29,14 +29,16 @@ spring: order_inserts: true order_updates: true mail: - host: ${SMTP_SERVER:smtp.gmail.com} - port: ${SMTP_SERVER_PORT:587} + host: ${SMTP_SERVER:smtp.163.com} + port: ${SMTP_SERVER_PORT:465} username: ${MAIL_ADDRESS} password: ${MAIL_PASSWORD} properties: mail: smtp: auth: true + ssl: + enable: true starttls: enable: true session: