最近一直在使用邮件发送功能,老是遇到问题,后面才找到,原来并不是程序问题引起的,我吧问题整出来,
1
2
3
4
5
6
7
|
javax.mail.SendFailedException: Sending failed; nested exception is: class javax.mail.MessagingException: 554 MI:STC 0 ,smtp10,DsCowLC7LwPACzRN7qcQAA--.2883S2 1295256512 at javax.mail.Transport.send0(Transport.java: 218 ) at javax.mail.Transport.send(Transport.java: 80 ) at mbspublic.mail.sendmail.sendmsg_mediaset(sendmail.java: 1302 ) at mbspublic.mail.sendmail.main(sendmail.java: 1962 ) |
其实这个问题是163服务器问题,你的邮箱发件平率过高,被暂时限制掉了