HOME > リファレンス > SMTP応答コード一覧表
SMTP応答コード一覧表
まだ作りかけです。日本語訳は近日中に書き加える予定です。いまのところ私自身のリファレンスがわりといった感じです。
| コード | 説明 |
| 211 | System status, or system help reply |
| 214 | Help message |
| 220 | Service ready |
| 221 | Service closing transmission channel |
| 250 | Requested mail action okay, completed |
| 251 | User not local; will forward to |
| 354 | Start mail input; end with . |
| 421 | Service not available,
closing transmission channel |
| 450 | Requested mail action not taken: mailbox unavailable |
| 451 | Requested action aborted: local error in processing |
| 452 | Requested action not taken: insufficient system storage |
| 500 | Syntax error, command unrecognized |
| 501 | Syntax error in parameters or arguments |
| 502 | Command not implemented |
| 503 | Bad sequence of commands |
| 504 | Command parameter not implemented |
| 550 | Requested action not taken: mailbox unavailable |
| 551 | User not local; please try |
| 552 | Requested mail action aborted: exceeded storage allocation |
| 553 | Requested action not taken: mailbox name not allowed |
| 554 | Transaction failed |
コマンド別応答コードの一覧です。
| コマンド | 成功 | 失敗 | エラー |
| 接続時 | 220 | 421 | - |
| HELO | 250 | - | 500, 501, 504, 421 |
| MAIL | 250 | 552, 451, 452 | 500, 501, 421 |
| RCPT | 250, 251 | 550, 551, 552, 553, 450, 451, 452 | 500, 501, 503, 421 |
| DATA | - | 451, 554 | 500, 501, 503, 421 |
↓ 354 | 250 | 552, 554, 451, 452 | - |
| RSET | 250 | - | 500, 501, 504, 421 |
| SEND | 250 | 552, 451, 452 | 500, 501, 502, 421 |
| SOML | 250 | 552, 451, 452 | 500, 501, 502, 421 |
| SAML | 250 | 552, 451, 452 | 500, 501, 502, 421 |
| VRFY | 250, 251 | 550, 551, 553 | 500, 501, 502, 504, 421 |
| EXPN | 250 | 550 | 500, 501, 502, 504, 421 |
| HELP | 211, 214 | - | 500, 501, 502, 504, 421 |
| NOOP | 250 | - | 500, 421 |
| QUIT | 221 | - | 500 |
| TURN | 250 | 502 | 500, 503 |