Smtp
RFC5321“接收方應檢查………回复程式碼”(為什麼?)
在 SMTP
commands
中由 發送,sender
並且responses
所有以數字開頭的code
都由 發送receiver
。但是有一點:
RFC5321 sec4.2
Whenever possible, a receiver- SMTP SHOULD test the first digit (severity indication) of the reply code.
嗯?這是 RFC 中的錯誤嗎?他們的意思是
sender
而不是receiver
?下一段他們說
sender
。Consequently, a sender-SMTP MUST be prepared to handle codes not specified in this document and MUST do so by interpreting the first digit only.
有點道理,
對我來說似乎是一個錯字。送出勘誤表。