可能大家對於這兩個概念不是很清楚。本文就主要歸納一下這兩者的區別和聯系。
軟退回和硬退回是郵件退回的兩種形式,都是由於某種原因無法發送到對方郵件。但這兩者是有區別的。
軟退回是指當對方郵箱已經滿了,或者郵件服務器出現技術等問題,或網絡出現問題,導致發送失敗,一般這種不是郵箱的問題。
軟退回的錯誤代碼主要有三種:
1.exceeded storage allocation
2.mailbox is full
3.retry timeout exceeded
硬退回則主要是指郵件地址已經不存在,無法將郵件內容發送到對應的郵箱中。比如域名不存在過期了,或者用戶的郵件地址打錯地址,這些都會造成硬退回。
硬退回的錯誤代碼有:
1.550 Invalid recipient
2.550 Requested action not taken: mailbox unavailable
3.Host not found
4.No such user
5.User unknown
6.User not found
7.Invalid address
8.Invalid recipient
9.Not a valid mailbox
10.This user doesn't have a yahoo.com account
11.Sorry, no mailbox by that name
12.The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
以上兩種退回方式希望大家都能夠掌握,看到對應的代碼應該了解到背后的意義。