• 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)
    

      

    出错原因:您要发送的收件人短时间内收到大量邮件,为避免受到恶意攻击,暂时禁止向该收件人发信。
     
    改善建议:暂停向该收件人发信,稍后重新尝试。
     
    特别提示:如果邮箱被注销了,但是还在发送列表里,也会导致这个问题
     
  • 相关阅读:
    Varnish常用相关命令工具
    Varnish介绍
    varnish 内置函数详细说明
    job console部署
    Windows Server 2008(R2)配置apache+php+mysql环境问题事项
    Eclipse for php + Xdebug搭建PHP的调试环境
    DB2 SQL Error: SQLCODE=-805, SQLSTATE=51002 解决方法
    base64加密解密
    将输入流InputStream转换为String
    PowerDesigner16 安装包及破解文件
  • 原文地址:https://www.cnblogs.com/Lucky-Suri/p/13049915.html
Copyright © 2020-2023  润新知