本文主要是介绍com.sun.mail.smtp.SMTPAddressFailedException: 550 Mailbox not found or access denied,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
最近公司日常数据采集邮件忽然不能发邮件了,查了下log:
javax.mail.SendFailedException: Invalid Addresses;nested exception is:com.sun.mail.smtp.SMTPAddressFailedException: 550 Mailbox not found or access deniedat com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1835)at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1098)at javax.mail.Transport.send0(Transport.java:191)at javax.mail.Transport.send(Transport.java:120)at com.tHulianwang.util.SendMail.sendMailNoCC(SendMail.java:90)at umeng.UmengListening.afterTest(UmengListening.java:98)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)at org.testng.internal.Invoke
这篇关于com.sun.mail.smtp.SMTPAddressFailedException: 550 Mailbox not found or access denied的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!