Definition
SMTP error codes are standardised numerical responses that receiving mail servers return during the SMTP conversation with a sending server. Every code falls into one of three classes: 2xx for success, 4xx for temporary failure requiring a retry and 5xx for permanent failure. Understanding these codes is essential for diagnosing delivery problems at the infrastructure level.
When a send fails, the error code tells you why. A 550 code indicates the address does not exist — remove it from your list. A 421 code indicates the recipient server is temporarily unavailable — the sending server should retry. A 554 code often indicates the message was rejected for policy or spam-related reasons.
Key SMTP Response Classes
| Code Range | Class | Meaning |
|---|---|---|
| 2xx | Success | The command was accepted and processed |
| 4xx | Temporary failure | The command was not accepted; retry later |
| 5xx | Permanent failure | The command was rejected; do not retry |
Best Practices
- Configure automated bounce processing to handle 5xx codes with immediate list removal
- Monitor 4xx error rates by recipient domain — sustained increases indicate throttling or reputation issues at specific providers
- Treat a spike in 554 codes as an urgent deliverability incident requiring immediate investigation
- Log error codes alongside campaign data so deliverability trends can be correlated with campaign characteristics
Related Glossary Terms
Bounce Classification
Bounce classification uses SMTP codes (550, 551, 552, 553, 554, 450, 451, 452) and enhanced status codes to categorise permanent and transient delivery failures.
DMARC Alignment
DMARC identifier alignment determines whether the domain in the From header matches the domains used in SPF and DKIM authentication. Strict or relaxed.
Acceptance Rate
Acceptance rate is the percentage of emails submitted for delivery that are accepted by the recipient's mail server, representing the first deliverability checkpoint before inbox placement is determined.
Email Acceptance Rate
Email acceptance rate measures the percentage of emails accepted by recipient mail servers versus total sent. It is a core deliverability metric that reveals whether your sending infrastructure is trusted by receiving servers.
Email Account Health Score
A composite metric that evaluates the overall health of an email sending programme based on deliverability, engagement, list quality, and compliance factors.
Email Active Subscriber
An active email subscriber has opened or clicked an email within a defined recency period, typically 30-90 days by industry. Active subscriber rate of 40-60% is typical for healthy email lists.