diff --git a/zsw-scheduled-admin.yml b/zsw-scheduled-admin.yml index 65c0c52..95ae8ad 100644 --- a/zsw-scheduled-admin.yml +++ b/zsw-scheduled-admin.yml @@ -4,6 +4,26 @@ zsw: username: xxl_job_230 password: zsw2022#Job +# xxl-job邮箱配置 +spring: + mail: + default-encoding: UTF-8 + host: smtp.exmail.qq.com + password: xxxxxx + port: 25 + protocol: smtp + username: job@zsw.com + properties: + mail: + smtp: + auth: true + starttls: + enable: true + required: true + socketFactory: + class: javax.net.ssl.SSLSocketFactory + +# 不启用邮箱连接检查 management: health: mail: