From 0a767d862994e9da159ed97dfedbde57d8e76bd6 Mon Sep 17 00:00:00 2001
From: peter <14100000001@qq.com>
Date: Mon, 18 Aug 2025 16:14:24 +0800
Subject: [PATCH] 地址
---
src/main/resources/spring/applicationContext-email.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/spring/applicationContext-email.xml b/src/main/resources/spring/applicationContext-email.xml
index e1e20ec..6a14205 100644
--- a/src/main/resources/spring/applicationContext-email.xml
+++ b/src/main/resources/spring/applicationContext-email.xml
@@ -38,13 +38,14 @@
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="${email.host}" />
<!-- mail account -->
- <property name="username" value="${email.username}" />
+ <property name="username" value="${ email.username}" />
<property name="password" value="${email.password}" />
<property name="javaMailProperties">
<props>
<prop key="mail.smtp.auth">true</prop>
<prop key="mail.smtp.port">465</prop>
<prop key="mail.smtp.ssl.enable">true</prop>
+ <prop key="mail.smtp.starttls.enable">true</prop>
<prop key="mail.debug">true</prop>
<prop key="mail.smtp.host">smtp.gmail.com</prop>
<prop key="mail.smtp.socketFactory.class">javax.net.ssl.SSLSocketFactory</prop>
--
Gitblit v1.9.3