报错: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not convert socket to TLS;
解决方法:
配置企业邮箱
spring.mail.host=outlookspring.mail.username=spring.mail.password=spring.mail.port=spring.mail.properties.mail.smtp.auth=truespring.mail.properties.mail.smtp.starttls.enable=falsespring.mail.properties.mail.smtp.starttls.required=false
spring.mail.properties.mail.smtp.starttls.enable=false
spring.mail.properties.mail.smtp.starttls.required=false相关链接: https://www.cnblogs.com/muliu/p/6017622.html
https://www.cnblogs.com/yucongblog/p/7385434.html