SMTP

SMTP 220 Service Ready vs 554 Transaction Failed

SMTP 220 (Service Ready) is a 2xx Positive Completion response, while 554 (Transaction Failed) is a 5xx Permanent Negative response. 220 indicates that the SMTP server is ready to begin the mail transaction. This greeting is the first response a client receives upon connecting, and it typically includes the server's hostname and software identificati 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 SMTP server is ready to begin the mail transaction. This greeting is the first response a client receives upon connecting, and it typically includes the server's hostname and software identification.

このコードが表示される場合

Immediately after establishing a TCP connection to the mail server on port 25, 465, or 587. This is the server's welcome banner confirming it is ready to accept commands.

解決方法

No fix needed — this confirms a successful connection. If you do not receive this greeting, check that the server is running, the port is correct, and no firewall is blocking the connection.

説明

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.

主な違い

1.

220 is a 2xx Positive Completion response, while 554 is a 5xx Permanent Negative response.

2.

SMTP 220: The SMTP server is ready to begin the mail transaction. This greeting is the first response a client receives upon connecting, and it typically includes the server's hostname and software identificati

3.

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

4.

You encounter 220 when immediately after establishing a TCP connection to the mail server on port 25, 465, or 587. This is the server's welcome banner confirming it is ready to accept commands.

5.

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 220 (Service Ready): No fix needed — this confirms a successful connection. If you do not receive this greeting, check that the server is running, the port is correct, and no firewall is blocking the connection. 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.

詳しく見る