SMTP reply codes

See rfc1893 and rfc2034 for information about enhanced status codes.

Check the RFC index for further mail-related RFCs.

Reply codes in numerical order
Code Meaning
200(nonstandard success response, see rfc876)
211System status, or system help reply
214Help message
220<domain> Service ready
221<domain> Service closing transmission channel
250Requested mail action okay, completed
251User not local; will forward to <forward-path>
354Start mail input; end with <CRLF>.<CRLF>
421<domain> Service not available, closing transmission channel
450Requested mail action not taken: mailbox unavailable
451Requested action aborted: local error in processing
452Requested action not taken: insufficient system storage
500Syntax error, command unrecognised
501Syntax error in parameters or arguments
502Command not implemented
503Bad sequence of commands
504Command parameter not implemented
521<domain> does not accept mail (see rfc1846)
530Access denied (???a Sendmailism)
550Requested action not taken: mailbox unavailable
551User not local; please try <forward-path>
552Requested mail action aborted: exceeded storage allocation
553Requested action not taken: mailbox name not allowed
554Transaction failed
Reply codes grouped by command
Command Code Description
connect
 220<domain> Service ready
 421<domain> Service not available, closing transmission channel
HELO
 250Requested mail action okay, completed
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 504Command parameter not implemented
 521<domain> does not accept mail [rfc1846]
 421<domain> Service not available, closing transmission channel
EHLO
 250Requested mail action okay, completed
 550Not implemented
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 504Command parameter not implemented
 421<domain> Service not available, closing transmission channel
MAIL
 250Requested mail action okay, completed
 552Requested mail action aborted: exceeded storage allocation
 451Requested action aborted: local error in processing
 452Requested action not taken: insufficient system storage
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 421<domain> Service not available, closing transmission channel
RCPT
 250Requested mail action okay, completed
 251User not local; will forward to <forward-path>
 550Requested action not taken: mailbox unavailable
 551User not local; please try <forward-path>
 552Requested mail action aborted: exceeded storage allocation
 553Requested action not taken: mailbox name not allowed
 450Requested mail action not taken: mailbox unavailable
 451Requested action aborted: local error in processing
 452Requested action not taken: insufficient system storage
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 503Bad sequence of commands
 521<domain> does not accept mail [rfc1846]
 421<domain> Service not available, closing transmission channel
DATA
 354Start mail input; end with <CRLF>.<CRLF>
 451Requested action aborted: local error in processing
 554Transaction failed
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 503Bad sequence of commands
 421<domain> Service not available, closing transmission channel
received data
 250Requested mail action okay, completed
 552Requested mail action aborted: exceeded storage allocation
 554Transaction failed
 451Requested action aborted: local error in processing
 452Requested action not taken: insufficient system storage
RSET
 200(nonstandard success response, see rfc876)
 250Requested mail action okay, completed
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 504Command parameter not implemented
 421<domain> Service not available, closing transmission channel
SEND
 250Requested mail action okay, completed
 552Requested mail action aborted: exceeded storage allocation
 451Requested action aborted: local error in processing
 452Requested action not taken: insufficient system storage
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 502Command not implemented
 421<domain> Service not available, closing transmission channel
SOML
 250Requested mail action okay, completed
 552Requested mail action aborted: exceeded storage allocation
 451Requested action aborted: local error in processing
 452Requested action not taken: insufficient system storage
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 502Command not implemented
 421<domain> Service not available, closing transmission channel
SAML
 250Requested mail action okay, completed
 552Requested mail action aborted: exceeded storage allocation
 451Requested action aborted: local error in processing
 452Requested action not taken: insufficient system storage
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 502Command not implemented
 421<domain> Service not available, closing transmission channel
VRFY
 250Requested mail action okay, completed
 251User not local; will forward to <forward-path>
 550Requested action not taken: mailbox unavailable
 551User not local; please try <forward-path>
 553Requested action not taken: mailbox name not allowed
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 502Command not implemented
 504Command parameter not implemented
 421<domain> Service not available, closing transmission channel
EXPN
 250Requested mail action okay, completed
 550Requested action not taken: mailbox unavailable
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 502Command not implemented
 504Command parameter not implemented
 421<domain> Service not available, closing transmission channel
HELP
 211System status, or system help reply
 214Help message
 500Syntax error, command unrecognised
 501Syntax error in parameters or arguments
 502Command not implemented
 504Command parameter not implemented
 421<domain> Service not available, closing transmission channel
NOOP
 200(nonstandard success response, see rfc876)
 250Requested mail action okay, completed
 500Syntax error, command unrecognised
 421<domain> Service not available, closing transmission channel
QUIT
 221<domain> Service closing transmission channel
 500Syntax error, command unrecognised
TURN
 250Requested mail action okay, completed
 502Command not implemented
 500Syntax error, command unrecognised
 503Bad sequence of commands

RJK | Contents

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值