SMTP (Simple Mail Transfer Protocol) reply codes are three-digit codes returned by mail servers to indicate the status of email transactions. Understanding these codes helps diagnose and resolve email delivery issues. Pay close attention to 4xx and 5xx codes, as they usually indicate delivery failures or temporary errors, while 2xx codes mean success and 3xx indicate further actions are required.
2xx: SuccessfulThe request was successfully received, understood, and accepted by the server. |
||
| 211 | System Status | Reply to a HELP message or system status check. |
| 214 | Help Message | Response to a HELP command, explaining how the server works. |
| 220 | Service Ready | The SMTP service is ready to start communication. |
| 221 | Service Closing Transmission Channel | The server is closing the connection. |
| 250 | Requested Mail Action Okay, Completed | The requested action has been successfully performed. |
| 251 | User Not Local, Will Forward | The recipient is not local, but the server will forward the message. |
| 252 | Cannot Verify User | The server cannot verify the user, but will attempt delivery. |
3xx: Positive Intermediate ReplyThe command has been accepted, but more information is required before completing the request. |
||
| 354 | Start Mail Input | Indicates that the server is ready to receive the email message body. |
4xx: Transient Negative CompletionThese codes indicate a temporary failure. The action was not completed, but the error is not permanent. The client may retry later. |
||
| 421 | Service Not Available | The service is not available and the connection will be closed. |
| 450 | Requested Mail Action Not Taken | The mailbox is unavailable, e.g., busy or temporarily blocked. |
| 451 | Action Aborted | Local processing error occurred. Try again later. |
| 452 | Insufficient Storage | |