异常信息:Got bad greeting from SMTP host: smtp.163.com, port: 587, response: [EOF]
使用spring-boot-starter-mail
配置:
解决办法1:去掉port
解决办法2:添加socketFactory.class
发送邮件例子代码:
标签:587,EOF,SMTP,smtp.163,Got,port From: https://www.cnblogs.com/cxygg/p/17087336.html