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)
    

      

    出错原因:您要发送的收件人短时间内收到大量邮件,为避免受到恶意攻击,暂时禁止向该收件人发信。
     
    改善建议:暂停向该收件人发信,稍后重新尝试。
     
    特别提示:如果邮箱被注销了,但是还在发送列表里,也会导致这个问题
     
  • 相关阅读:
    yarn的安装和使用
    git clone不了项目文件的解决方法和----vscode操作git的方法
    vue使用swiper遇到的坑
    stylus介绍与引入
    Win10在当前目录快速打开cmd的方法
    git切换到指定分支,git新建分支与合并
    jQuery之表格隔行变色
    jQuery之onload与ready
    jQuery之多库共存
    jQuery之插件
  • 原文地址:https://www.cnblogs.com/Lucky-Suri/p/13049915.html
Copyright © 2011-2022 走看看