mail:
password: CUWZVYBVGHAHEYYQ
port: 465
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
socketFactory:
class: javax.net.ssl.SSLSocketFactory
aws、阿里云等不支持端口25,修改协议为SSL,同时修改端口
spring-boot集成mail,当端口不支持25时
阅读 64
2023-02-04
mail:
password: CUWZVYBVGHAHEYYQ
port: 465
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
socketFactory:
class: javax.net.ssl.SSLSocketFactory
aws、阿里云等不支持端口25,修改协议为SSL,同时修改端口
相关推荐
精彩评论(0)