This commit is contained in:
hejinbo
2023-09-27 15:33:53 +08:00
parent c60ad9f3fc
commit 2a147f119e
7 changed files with 346 additions and 106 deletions
+8 -22
View File
@@ -92,30 +92,16 @@ spring:
resources:
static-locations: file:/home/ruoyi/
mail:
# 邮件服务地址
host: smtp.163.com
# 默认端口25,可不写
port: 25
# 编码格式
default-encoding: utf-8
# 发送者用户名
username: xxx@163.com
# 授权码,刚才获取的代码
password: xxx
# 其它参数
# properties:
# mail:
# smtp:
# # 如果是用 SSL 方式,需要配置如下属性
# ssl:
# enable: true
# required: true
# # 邮件接收时间的限制,单位毫秒
# timeout: 10000
# # 连接时间的限制,单位毫秒
# connectiontimeout: 10000
# # 邮件发送时间的限制,单位毫秒
# writetimeout: 10000
username: hjbjava@163.com
password: BSRSSEPJWGNNVYYL
default-encoding: UTF-8
properties:
mail:
smtp:
socketFactoryClass: javax.net.ssl.SSLSocketFactory
debug: false
# token配置
token: