From 39ae52b3f65e2bba3b6570adb51e791cb3befff7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 02 七月 2025 16:32:29 +0800
Subject: [PATCH] 提交

---
 server/service/src/main/resources/application-pro.yml |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/server/service/src/main/resources/application-pro.yml b/server/service/src/main/resources/application-pro.yml
index fed6c27..e5113a7 100644
--- a/server/service/src/main/resources/application-pro.yml
+++ b/server/service/src/main/resources/application-pro.yml
@@ -23,13 +23,16 @@
     host: smtp.exmail.qq.com
     username: kefu@yyb.red
     password: 5CGaprcdshS7bHaM
+    port: 465
     properties:
       mail:
         smtp:
           auth: true
-        starttls:
-          enable: true
-          required: true
+          socketFactory:
+            class: javax.net.ssl.SSLSocketFactory
+            port: 465
+          ssl:
+            enable: true
 
   redis:
     #    database: 0

--
Gitblit v1.9.3