zoukankan      html  css  js  c++  java
  • Java mail发送邮件报错550 Mailbox not found or access denied原因

    org.springframework.mail.MailSendException: Failed messages: javax.mail.SendFailedException: Invalid Addresses;
      nested exception is:
    	com.sun.mail.smtp.SMTPAddressFailedException: 550 Mailbox not found or access denied
    ; message exception details (1) are:
    Failed message 1:
    javax.mail.SendFailedException: Invalid Addresses;
      nested exception is:
    	com.sun.mail.smtp.SMTPAddressFailedException: 550 Mailbox not found or access denied
     
    	at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:2014)
    	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1258)
    	at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:448)
    	at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:345)
    	at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
    	at com.dongExcel.Utils.sendInlineMail(Utils.java:133)
    	at com.dongExcel.Task.two2(Task.java:110)
    	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)
    

      

    出错原因:您要发送的收件人短时间内收到大量邮件,为避免受到恶意攻击,暂时禁止向该收件人发信。
     
    改善建议:暂停向该收件人发信,稍后重新尝试。
     
    特别提示:如果邮箱被注销了,但是还在发送列表里,也会导致这个问题
     
  • 相关阅读:
    vue
    Html5的本地储存 Web Storage
    java json解析(转)
    Python常用字符编码(转)
    特殊符号集锦(转)
    neo4j性能调优(转)
    hadoop fs -text和hadoop fs -cat的区别(转)
    docker和dockerfile极简入门(转)
    docker原理(转)
    neo4j配置(转)
  • 原文地址:https://www.cnblogs.com/Lucky-Suri/p/13049915.html
Copyright © 2011-2022 走看看