mail:
host: smtp.163.com
username: xxxx@163.com
password: xxxx
port: 465
protocol: smtp // 重点
properties:
mail:
debug: true
smtp:
auth: true
timeout: 20000
connectiontimeout: 20000
writetimeout: 20000
socketFactory:
fallback: false
starttls:
enable: true
ssl:
enable: true
default-encoding: utf-8
test-connection: false
java 配置163邮箱发送短信
最新推荐文章于 2023-07-17 11:35:11 发布