SMTP 250 OK vs 556 Domain Does Not Accept Mail
SMTP 250 (OK) is a 2xx Positive Completion response, while 556 (Domain Does Not Accept Mail) 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, 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.
คำอธิบาย
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 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 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.
วิธีแก้ไข
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.
ความแตกต่างหลัก
250 is a 2xx Positive Completion response, while 556 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 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.
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 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.
ควรใช้อันไหนเมื่อไร
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 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.