在持續集成的時候,可能因為各種原因,導致發送郵件失敗
早上起來看到jenkins構建失敗,打開日志一看
說郵件發送頻率太大,后來一查,發現是jenkins配置語法寫錯了,寫成了每分鍾執行一次,導致頻繁發送郵件
所以這里整理一下常見SMTP發送失敗原因列表
·The server rejected the message: 554 DT:SPM smtp2 Cannot send message 451 MI:SFQ 0,smtp9,DcCowLD735x2fG1MgWLhAA--.11609S2 1282243
郵件服務器拒絕發送郵件,判斷為發送垃圾郵件。建議您檢查郵件內容,是否包含一些比較敏感的內容。
·Cannot send message data: 550 5.4.5 Daily sending quota exceeded. q31sm4299413ybk.1
不能發送郵件,每日發送額度用完。建議您控制此郵箱每天的發送量,今天發送量已經用完,需要明天才能繼續發送。
·Recipient rejected: <xxx@yahoo.com>: 553 5.7.1 < xx@xx.com >: Sender address rejected: not owned by user xx@xx.com
發送郵箱地址被拒絕。建議您換個郵箱發送。
·Recipient rejected: <xxx@yahoo.co.uk>: 550 Your mailbox is full?
您的郵箱空間已滿不能再發送郵件。建議您整理郵箱中的郵件。
·Cannot send message: 451 sorry, server closed?
不能發送,服務器已經關閉。建議您稍候再嘗試郵件發送操作 。
·Recipient rejected: <xxx@yahoo.com>: 500 Error: bad syntax
收件人地址格式不正確。請核實收件人地址是否正確。
·421 Service not available, closing transmission channel (This may be a reply to any command if the service knows it must shut down)
服務暫時不可用!建議您稍候再嘗試發送。
·450 Requested mail action not taken: mailbox unavailable (E.g., mailbox busy)
郵件發送請求沒有發生:郵箱不可用(例如,郵箱忙)!建議您稍候再嘗試!
·451 Requested action aborted: local error in processing
請求的郵件操作被中止:本地進程錯誤。建議您重新啟動郵件營銷助手來嘗試發送
·550 Requested action not taken: mailbox unavailable (E.g., mailbox not found, no access)?
請求的操作未被執行:郵箱不可用(例如,郵箱未找到,不能訪問)。建議您稍候再嘗試。
·552 Requested mail action aborted: exceeded storage allocation
請求的郵件操作中止:超出存儲分配。建議您整理郵箱中的郵件。
· 553 Requested action not taken: mailbox name not allowed (E.g., mailbox syntax incorrect)
請求的操作未被執行:不允許的郵箱名稱(例如,郵箱的語法不正確的);
·550 5.3.4 Requested action not taken; This account is currently blocked from sending messages. If you don't think you've violated the Windows Live Terms of Use, please contact customer support
請求不采取行動,這是目前從帳戶發送的郵件被阻止。如果您不認為您已經違反了Windows Live的使用條款,請聯系其客戶支持。