可能你们对于这两个概念不是很清楚。本文就主要概括一下这二者的区别和联系。服务器
软退回和硬退回是邮件退回的两种形式,都是因为某种缘由没法发送到对方邮件。但这二者是有区别的。网络
软退回是指当对方邮箱已经满了,或者邮件服务器出现技术等问题,或网络出现问题,致使发送失败,通常这种不是邮箱的问题。dom
软退回的错误代码主要有三种:dns
1.exceeded storage allocationip
2.mailbox is fullci
3.retry timeout exceeded域名
硬退回则主要是指邮件地址已经不存在,没法将邮件内容发送到对应的邮箱中。好比域名不存在过时了,或者用户的邮件地址打错地址,这些都会形成硬退回。io
硬退回的错误代码有:im
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.
以上两种退回方式但愿你们都可以掌握,看到对应的代码应该了解到背后的意义。