java郵件發送 550

 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

 

 

5、解決辦法

 

代碼中寫入限流

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章