SMTP 250 OK vs 554 Transaction Failed
SMTP 250 (OK) is a 2xx Positive Completion response, while 554 (Transaction Failed) is a 5xx Permanent Negative response. 250 indicates that the requested mail action has been completed successfully. This is the most common positive response in SMTP, returned after HELO/EHLO, MAIL FROM, RCPT TO, and DATA completion. In contrast, 554 means that the mail transaction has failed. This is a catch-all permanent error that can occur at any point during the SMTP session, including as a rejection greeting when the server refuses all connections from
説明
The requested mail action has been completed successfully. This is the most common positive response in SMTP, returned after HELO/EHLO, MAIL FROM, RCPT TO, and DATA completion.
このコードが表示される場合
After nearly every successful SMTP command — greeting, specifying sender, adding recipients, or completing message delivery. This is the standard success confirmation.
解決方法
No fix needed — the command was accepted. If a command that should succeed returns a different code, check the command syntax and server policies.
説明
The mail transaction has failed. This is a catch-all permanent error that can occur at any point during the SMTP session, including as a rejection greeting when the server refuses all connections from your IP.
このコードが表示される場合
When the entire mail transaction is rejected — often due to spam filtering, blacklisted IP addresses, malformed messages, or policy violations detected during the DATA phase.
解決方法
Check your IP against DNS blacklists (DNSBL) and verify your SPF, DKIM, and DMARC records. Review the full error message for specific rejection reasons. If blacklisted, request delisting from the relevant blocklist.
主な違い
250 is a 2xx Positive Completion response, while 554 is a 5xx Permanent Negative response.
SMTP 250: The requested mail action has been completed successfully. This is the most common positive response in SMTP, returned after HELO/EHLO, MAIL FROM, RCPT TO, and DATA completion.
SMTP 554: The mail transaction has failed. This is a catch-all permanent error that can occur at any point during the SMTP session, including as a rejection greeting when the server refuses all connections from
You encounter 250 when after nearly every successful SMTP command — greeting, specifying sender, adding recipients, or completing message delivery. This is the standard success confirmation.
You encounter 554 when when the entire mail transaction is rejected — often due to spam filtering, blacklisted IP addresses, malformed messages, or policy violations detected during the DATA phase.
どちらをいつ使うか
For 250 (OK): No fix needed — the command was accepted. If a command that should succeed returns a different code, check the command syntax and server policies. For 554 (Transaction Failed): Check your IP against DNS blacklists (DNSBL) and verify your SPF, DKIM, and DMARC records. Review the full error message for specific rejection reasons. If blacklisted, request delisting from the relevant blocklist.