SMTP
"SMTP Error 522" usually means the recipient's mailbox is full or over quota. It's a non-standard label for the 552 / 5.2.2 storage error. Here's what it really means and how to fix it.
Updated Jul 1, 2026
The short answer
"SMTP Error 522" is not a code defined in RFC 5321 — it's a label some servers and tools use for a recipient mailbox that is full or over its storage quota. The real reply code is 552 ("exceeded storage allocation"), with enhanced status 5.2.2. The recipient must free space or raise their quota; as the sender, stop retrying and verify the address.
Quick answer: "522" is not an official SMTP reply code. In practice it's used as a label for a recipient mailbox that is full or over its storage quota. The standardized code for this condition is 552 ("Requested mail action aborted: exceeded storage allocation", RFC 5321) carrying the enhanced status code 5.2.2 "Mailbox full" (RFC 3463). The fix is on the recipient's side: they must free space or raise their quota.
Not as a standalone reply code. RFC 5321 — the SMTP standard — lists its permanent 5yz reply codes in section 4.2.3: 500, 501, 502, 503, 504, 550, 551, 552, 553, 554, and 555. There is no 522 in that list. (A couple of other 5yz codes you may encounter, such as 521 and 556, were added later by RFC 7504, and 530 comes from the STARTTLS/AUTH extensions in RFC 3207/4954 — none of them mean "mailbox full" either.)
Where you do see "522," it is almost always one of two things:
So before you troubleshoot, read the full bounce string. If it contains 552 and/or 5.2.2 with text like "exceeded storage allocation", "mailbox full", or "over quota", treat it as the quota problem described below.
Per RFC 3463, enhanced status X.2.2 means: "The mailbox is full because the user has exceeded a per-mailbox administrative quota or physical capacity." Common triggers:
This is the recipient's problem to resolve, not a misconfiguration on your sending infrastructure. (Contrast this with a true blocklist rejection, which returns a 5.7.x policy code, not 5.2.2.)
If you are the recipient (or can reach them):
If you are the sender:
With Courier
References
FAQ
No. RFC 5321 does not define a 522 reply code. Its base permanent 5yz codes are 500–504 and 550–555. RFC 7504 later added 521 and 556, and the STARTTLS/AUTH extensions (RFC 3207/4954) added 530 — none of these mean mailbox-full. "522" is a non-standard label some servers and tools use for a mailbox-full / over-quota bounce, which the standard expresses as reply code 552 with enhanced status 5.2.2.
One API, every provider
Courier connects to your email, SMS, and push providers, handles retries and failover, and surfaces delivery errors in plain language.
Reply-code definitions per RFC 5321 §4.2.3 (552); RFC 3463 §3.3 (X.2.2). Last reviewed Jul 1, 2026. Courier is not affiliated with third-party providers; error behavior may vary by implementation.
© 2026 Courier. All rights reserved.