SMTP

SMTP Error 511

"SMTP Error 511" isn't a real reply code — it's the enhanced status 5.1.1, "bad destination mailbox address." Here's what it means and how to fix the bounce.

Updated Jul 1, 2026

The short answer

"SMTP Error 511" is not a real RFC 5321 reply code — no 511 reply exists. It is almost always a rendering of the enhanced status code 5.1.1 ("bad destination mailbox address," RFC 3463), which travels with a 550/553 bounce meaning the recipient address doesn't exist. Fix it by correcting the typo'd or invalid recipient address and removing dead addresses from your list.

Is "SMTP Error 511" a real SMTP code?

No. There is no 511 reply code in RFC 5321, the SMTP specification. Valid three-digit replies use a constrained set of values, and in the 5xx (permanent failure) range the address-related codes are 550, 551, 552, 553, and 554 — not 511.

"511" is virtually always a misreading of the enhanced mail system status code 5.1.1 defined in RFC 3463. Enhanced status codes are written as three dot-separated numbers (class.subject.detail), and 5.1.1 often appears in a bounce line right next to the real reply code, like:

550 5.1.1 <jdoe@exaple.com>: Recipient address rejected: User unknown

Here 550 is the actual SMTP reply code and 5.1.1 is the enhanced detail. Strip the dots and "5.1.1" reads as "511" — which is where this label comes from. (Some legacy docs also call this a "duplicate of 510"; that framing is itself based on a non-standard code and isn't found in any RFC. Note that a few provider blog posts and error-code roundups also list "511" as if it were its own standalone reply code — it isn't; it's this same 5.1.1 mix-up.)

What does 5.1.1 / "bad destination mailbox address" mean?

Per RFC 3463, X.1.1 means: "The mailbox specified in the address does not exist. For Internet mail names, this means the address portion to the left of the '@' sign is invalid." The leading 5 marks it a permanent failure — resending the same message unchanged will not succeed. The recipient's server accepted your connection and recognized the domain, but rejected the specific local-part (the part before the @).

This is distinct from neighboring codes you may also see:

  • 5.1.2 — the destination domain/system doesn't exist or can't accept mail.
  • 5.1.3 — the address is syntactically invalid (malformed, not just unknown).

How do I fix "SMTP Error 511" (5.1.1)?

  1. Read the full bounce line, not just the digits. Capture the real reply code (550 vs 553) and the human-readable text after 5.1.1 — providers append the actual reason ("User unknown," "Recipient address rejected," "No such user").
  2. Correct the recipient's local-part. 5.1.1 points at the left of the @. Check for typos (jhon@, missing letters), stale usernames (employee left, alias removed), or a wrong-but-valid-looking address.
  3. Confirm the mailbox actually exists. Ask the recipient for their current address, or send a test to a known-good address on the same domain to rule out a server-wide problem.
  4. Remove the address from active sends. Because 5.1.1 is permanent, suppress or delete it from your list rather than retrying. Continuing to mail addresses that hard-bounce hurts sender reputation.
  5. Validate at intake. Use double opt-in and address validation to catch invalid recipients before they bounce. A spike in 5.1.1 across many recipients usually signals bad list data (a scraped or aged list), not individual typos.

With Courier

If you send email via Courier, a 5.1.1 / 550 bounce from the downstream provider (SendGrid, Amazon SES, Mailgun, Postmark, etc.) surfaces in the message's delivery status and logs. Inspect the message in the Courier logs to see the verbatim provider response, fix or remove the offending recipient profile, and rely on your provider's suppression list so permanently-failed addresses aren't retried.

FAQ

Common questions

They appear together. A real bounce reads like "550 5.1.1 User unknown": 550 is the actual RFC 5321 reply code (permanent mailbox failure) and 5.1.1 is the RFC 3463 enhanced status code. "511" is just 5.1.1 with the dots removed; there is no standalone 511 reply code.

One API, every provider

Stop debugging raw provider errors

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 3463 (X.1.1); RFC 5321 §4.2.3. Last reviewed Jul 1, 2026. Courier is not affiliated with third-party providers; error behavior may vary by implementation.