SMTP

SMTP 250 OK vs 552 Exceeded Storage

SMTP 250 (OK) is a 2xx Positive Completion response, while 552 (Exceeded Storage) 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, 552 means that the requested mail action was aborted because the recipient's mailbox has exceeded its storage allocation. Unlike the temporary 452, this is a permanent rejection for this specific mailbox.

描述

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 requested mail action was aborted because the recipient's mailbox has exceeded its storage allocation. Unlike the temporary 452, this is a permanent rejection for this specific mailbox.

何时出现

When the recipient's mailbox is completely full and cannot accept any more messages. The recipient needs to delete old emails or increase their quota.

如何修复

Notify the recipient through another channel that their mailbox is full. If you are the recipient, delete old messages or contact your mail administrator to increase the storage quota.

主要区别

1.

250 is a 2xx Positive Completion response, while 552 is a 5xx Permanent Negative response.

2.

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.

3.

SMTP 552: The requested mail action was aborted because the recipient's mailbox has exceeded its storage allocation. Unlike the temporary 452, this is a permanent rejection for this specific mailbox.

4.

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.

5.

You encounter 552 when when the recipient's mailbox is completely full and cannot accept any more messages. The recipient needs to delete old emails or increase their quota.

何时使用哪个

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 552 (Exceeded Storage): Notify the recipient through another channel that their mailbox is full. If you are the recipient, delete old messages or contact your mail administrator to increase the storage quota.

了解更多