首页 > 其他分享 >Got bad greeting from SMTP host smtp.163.com, port 587, response [EOF]

Got bad greeting from SMTP host smtp.163.com, port 587, response [EOF]

时间:2023-02-02 20:44:06浏览次数:46  
标签:587 EOF SMTP smtp.163 Got port

异常信息: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

相关文章