欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

java邮件发送 550

程序员文章站 2022-05-18 21:26:41
...

 1、使用ip形式


   Could not connect to SMTP host: 14.18.245.164, port: 465, response: 550. 

2、使用域名形式


 Could not connect to SMTP host: smtp.qq.com, port: 465, response: 550

 

3、错误日志

ERROR c.atpdc.cms.business.system.service.CaptchaService - 发送邮箱失败. 
org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: 
Could not connect to SMTP host: smtp.qq.com, port: 465, response: 550. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465, response: 550; message exceptions (1) are:
Failed message 1: javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465, response: 550

4、错误原因

腾讯地址:https://service.mail.qq.com/cgi-bin/help

https://service.mail.qq.com/cgi-bin/help?subtype=1&&id=20022&&no=1000725

 

java邮件发送 550

 

5、解决办法

 

代码中写入限流

 

相关标签: 邮件发送