SMTP

SMTP 220 Service Ready vs 556 Domain Does Not Accept Mail

SMTP 220 (Service Ready) is a 2xx Positive Completion response, while 556 (Domain Does Not Accept Mail) 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, 556 means that the destination domain does not accept mail and no forwarding address is available. The domain's DNS configuration (null MX record) explicitly indicates it does not receive email.

Description

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.

When You See It

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.

How to Fix

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.

Description

The destination domain does not accept mail and no forwarding address is available. The domain's DNS configuration (null MX record) explicitly indicates it does not receive email.

When You See It

When sending to a domain that has published a null MX record (RFC 7505) in DNS, explicitly declaring that it does not accept any email messages.

How to Fix

Verify the domain's MX records — a null MX (priority 0, empty host) means the domain intentionally rejects all mail. Contact the recipient through an alternative channel.

Key Differences

1.

220 is a 2xx Positive Completion response, while 556 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 556: The destination domain does not accept mail and no forwarding address is available. The domain's DNS configuration (null MX record) explicitly indicates it does not receive email.

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 556 when when sending to a domain that has published a null MX record (RFC 7505) in DNS, explicitly declaring that it does not accept any email messages.

When to Use Which

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 556 (Domain Does Not Accept Mail): Verify the domain's MX records — a null MX (priority 0, empty host) means the domain intentionally rejects all mail. Contact the recipient through an alternative channel.

Learn More