From a89b299a4be3309704c57cd1a27bf8d167029429 Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Mon, 21 Apr 2025 10:19:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E4=BB=B6=E5=8F=91=E9=80=81=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=EF=BC=8C=E4=BF=AE=E6=94=B9yml=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 12 ++++++------ .../src/main/resources/application-dm8.yml | 8 ++------ .../src/main/resources/application-kingbase8.yml | 8 ++------ .../src/main/resources/application-prod.yml | 8 ++------ .../src/main/resources/application-test.yml | 9 +++------ 5 files changed, 15 insertions(+), 30 deletions(-) diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml index 4ad7b361d..28d0de209 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml @@ -40,12 +40,12 @@ spring: username: jeecgos@163.com password: ?? properties: - mail: - smtp: - auth: true - starttls: - enable: true - required: true + mail.smtp.timeout: 10000 # 连接超时(毫秒) + mail.smtp.connectiontimeout: 10000 # 连接超时(毫秒) + mail.smtp.writetimeout: 10000 # 写入超时(毫秒) + mail.smtp.auth: true + smtp.ssl.enable: true + mail.debug: true # 启用调试模式(查看详细日志) ## quartz定时任务,采用数据库方式 quartz: job-store-type: jdbc diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml index 6dfcfd90d..e8a1820a7 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml @@ -38,12 +38,8 @@ spring: username: jeecgos@163.com password: ?? properties: - mail: - smtp: - auth: true - starttls: - enable: true - required: true + mail.smtp.auth: true + smtp.ssl.enable: true ## quartz定时任务,采用数据库方式 quartz: job-store-type: jdbc diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-kingbase8.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-kingbase8.yml index 7961c8b54..2ccfb69d1 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-kingbase8.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-kingbase8.yml @@ -38,12 +38,8 @@ spring: username: jeecgos@163.com password: ?? properties: - mail: - smtp: - auth: true - starttls: - enable: true - required: true + mail.smtp.auth: true + smtp.ssl.enable: true ## quartz定时任务,采用数据库方式 quartz: job-store-type: jdbc diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml index d94bd2c86..427b21a90 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml @@ -36,12 +36,8 @@ spring: username: jeecgos@163.com password: ?? properties: - mail: - smtp: - auth: true - starttls: - enable: true - required: true + mail.smtp.auth: true + smtp.ssl.enable: true ## quartz定时任务,采用数据库方式 quartz: job-store-type: jdbc diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-test.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-test.yml index 79cd8d43e..413d71569 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-test.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-test.yml @@ -38,12 +38,9 @@ spring: username: jeecgos@163.com password: ?? properties: - mail: - smtp: - auth: true - starttls: - enable: true - required: true + mail.smtp.auth: true + smtp.ssl.enable: true + mail.debug: true # 启用调试模式(查看详细日志) ## quartz定时任务,采用数据库方式 quartz: job-store-type: jdbc