mirror of https://github.com/jeecgboot/jeecg-boot
邮件发送失败,修改yml配置方式
parent
7a15bfc161
commit
a89b299a4b
|
@ -40,12 +40,12 @@ spring:
|
||||||
username: jeecgos@163.com
|
username: jeecgos@163.com
|
||||||
password: ??
|
password: ??
|
||||||
properties:
|
properties:
|
||||||
mail:
|
mail.smtp.timeout: 10000 # 连接超时(毫秒)
|
||||||
smtp:
|
mail.smtp.connectiontimeout: 10000 # 连接超时(毫秒)
|
||||||
auth: true
|
mail.smtp.writetimeout: 10000 # 写入超时(毫秒)
|
||||||
starttls:
|
mail.smtp.auth: true
|
||||||
enable: true
|
smtp.ssl.enable: true
|
||||||
required: true
|
mail.debug: true # 启用调试模式(查看详细日志)
|
||||||
## quartz定时任务,采用数据库方式
|
## quartz定时任务,采用数据库方式
|
||||||
quartz:
|
quartz:
|
||||||
job-store-type: jdbc
|
job-store-type: jdbc
|
||||||
|
|
|
@ -38,12 +38,8 @@ spring:
|
||||||
username: jeecgos@163.com
|
username: jeecgos@163.com
|
||||||
password: ??
|
password: ??
|
||||||
properties:
|
properties:
|
||||||
mail:
|
mail.smtp.auth: true
|
||||||
smtp:
|
smtp.ssl.enable: true
|
||||||
auth: true
|
|
||||||
starttls:
|
|
||||||
enable: true
|
|
||||||
required: true
|
|
||||||
## quartz定时任务,采用数据库方式
|
## quartz定时任务,采用数据库方式
|
||||||
quartz:
|
quartz:
|
||||||
job-store-type: jdbc
|
job-store-type: jdbc
|
||||||
|
|
|
@ -38,12 +38,8 @@ spring:
|
||||||
username: jeecgos@163.com
|
username: jeecgos@163.com
|
||||||
password: ??
|
password: ??
|
||||||
properties:
|
properties:
|
||||||
mail:
|
mail.smtp.auth: true
|
||||||
smtp:
|
smtp.ssl.enable: true
|
||||||
auth: true
|
|
||||||
starttls:
|
|
||||||
enable: true
|
|
||||||
required: true
|
|
||||||
## quartz定时任务,采用数据库方式
|
## quartz定时任务,采用数据库方式
|
||||||
quartz:
|
quartz:
|
||||||
job-store-type: jdbc
|
job-store-type: jdbc
|
||||||
|
|
|
@ -36,12 +36,8 @@ spring:
|
||||||
username: jeecgos@163.com
|
username: jeecgos@163.com
|
||||||
password: ??
|
password: ??
|
||||||
properties:
|
properties:
|
||||||
mail:
|
mail.smtp.auth: true
|
||||||
smtp:
|
smtp.ssl.enable: true
|
||||||
auth: true
|
|
||||||
starttls:
|
|
||||||
enable: true
|
|
||||||
required: true
|
|
||||||
## quartz定时任务,采用数据库方式
|
## quartz定时任务,采用数据库方式
|
||||||
quartz:
|
quartz:
|
||||||
job-store-type: jdbc
|
job-store-type: jdbc
|
||||||
|
|
|
@ -38,12 +38,9 @@ spring:
|
||||||
username: jeecgos@163.com
|
username: jeecgos@163.com
|
||||||
password: ??
|
password: ??
|
||||||
properties:
|
properties:
|
||||||
mail:
|
mail.smtp.auth: true
|
||||||
smtp:
|
smtp.ssl.enable: true
|
||||||
auth: true
|
mail.debug: true # 启用调试模式(查看详细日志)
|
||||||
starttls:
|
|
||||||
enable: true
|
|
||||||
required: true
|
|
||||||
## quartz定时任务,采用数据库方式
|
## quartz定时任务,采用数据库方式
|
||||||
quartz:
|
quartz:
|
||||||
job-store-type: jdbc
|
job-store-type: jdbc
|
||||||
|
|
Loading…
Reference in New Issue