spring: mail: host: smtp.exmail.qq.com port: 465 default-encoding: UTF-8 username: xx@nx-engine.com password: xx # password: YaHqBDN3oRritarC #客户端密码 protocol: smtp properties: mail: smtp: auth: true ssl: enable: true socketFactory: fallback: false class: com.fintech.modules.base.util.mail.MailSSLSocketFactory starttls: enable: true required: true