SMTP

SMTP 220 Service Ready vs 451 Local Error

SMTP 220 (Service Ready) is a 2xx Positive Completion response, while 451 (Local Error) is a 4xx Transient 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, 451 means that the requested action was aborted due to a local error in processing. The server encountered an internal issue that prevented it from completing the command.

説明

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 requested action was aborted due to a local error in processing. The server encountered an internal issue that prevented it from completing the command.

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

When the receiving server hits an internal error such as a database failure, DNS lookup timeout, or anti-spam filter processing error.

解決方法

Retry the message later. If you control the server, check its logs for the specific error — common causes include DNS resolution failures, disk I/O errors, or database connectivity issues.

主な違い

1.

220 is a 2xx Positive Completion response, while 451 is a 4xx Transient 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 451: The requested action was aborted due to a local error in processing. The server encountered an internal issue that prevented it from completing the command.

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 451 when when the receiving server hits an internal error such as a database failure, DNS lookup timeout, or anti-spam filter processing error.

どちらをいつ使うか

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 451 (Local Error): Retry the message later. If you control the server, check its logs for the specific error — common causes include DNS resolution failures, disk I/O errors, or database connectivity issues.

詳しく見る