邮件配置
This commit is contained in:
parent
c6a24e287a
commit
7be74f7229
@ -40,24 +40,23 @@ spring:
|
|||||||
port: 30002
|
port: 30002
|
||||||
password: gdxz2022&dj.
|
password: gdxz2022&dj.
|
||||||
|
|
||||||
# 邮件,置以SSL的方式发送, 这个需要使用这种方式并且端口是465
|
# 邮件配置
|
||||||
# 已禁用邮件功能,避免认证失败错误
|
mail:
|
||||||
# mail:
|
host: smtp.163.com
|
||||||
# host: smtp.163.com
|
port: 465
|
||||||
# port: 465
|
username: your-email@163.com
|
||||||
# username: lab1024@163.com
|
password: your-password
|
||||||
# password: LAB1024LAB
|
test-connection: false
|
||||||
# test-connection: false
|
properties:
|
||||||
# properties:
|
mail:
|
||||||
# mail:
|
smtp:
|
||||||
# smtp:
|
auth: true
|
||||||
# auth: true
|
ssl:
|
||||||
# ssl:
|
enable: true
|
||||||
# enable: true
|
socketFactory:
|
||||||
# socketFactory:
|
class: com.sun.mail.util.MailSSLSocketFactory
|
||||||
# class: com.sun.mail.util.MailSSLSocketFactory
|
fallback: false
|
||||||
# fallback: false
|
debug: false
|
||||||
# debug: false
|
|
||||||
|
|
||||||
# json序列化相关配置
|
# json序列化相关配置
|
||||||
jackson:
|
jackson:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user