SMTP
SMTP 555 permanently rejects MAIL FROM or RCPT TO with an unrecognized parameter. Fix the envelope syntax and drop unsupported ESMTP extension parameters.
Updated Jul 1, 2026
The short answer
SMTP Error 555 is a permanent failure defined in RFC 5321 as "MAIL FROM/RCPT TO parameters not recognized or not implemented." The receiving server accepted your MAIL FROM or RCPT TO command but rejected an ESMTP parameter on it (e.g. SIZE, BODY, AUTH) or found the command malformed. Fix it by correcting the envelope-command syntax and dropping unsupported extension parameters — not by editing recipient addresses.
SMTP Error 555 is a permanent (5xx) reply defined in RFC 5321 §4.1.1.11 with the exact wording: "If the server SMTP does not recognize or cannot implement one or more of the parameters associated with a particular MAIL FROM or RCPT TO command, it will return code 555" (the code itself is also listed in the §4.2.3 reply-code table). It is an envelope-command error — the server is complaining about the MAIL FROM: or RCPT TO: line of the SMTP conversation, not about the message body or the visible "To:"/"From:" header fields.
This distinction matters: 555 is almost always a sender-side / client-side configuration problem, not a bad recipient mailbox (that would be 550). Editing or re-spelling the recipient address usually does nothing for a genuine 555.
A 555 is returned when the server understood the command verb (MAIL or RCPT) but could not accept what came after the address, or the line was malformed. Common triggers:
MAIL FROM:<a@b.com> SIZE=10240000, BODY=8BITMIME, AUTH=<>, or DSN parameters like RET=/ENVID= on MAIL and NOTIFY=/ORCPT= on RCPT (RET=/ENVID=/NOTIFY=/ORCPT= are defined by RFC 3461, the DSN extension, not RFC 5321 itself). If your client sends a parameter that the receiver never advertised in its EHLO response, the server may reject it with 555. Per RFC 3463, the paired enhanced code is often X.5.4 "Invalid command arguments" — "A valid mail transaction protocol command was issued with invalid arguments, either because the arguments were out of range or represented unrecognized features."MAIL FROM: a@b.com instead of MAIL FROM:<a@b.com>), or a stray space in the command. This commonly surfaces as the enhanced code X.5.2 "Syntax error" — for example, a MAIL FROM:<user@example.com missing its closing angle bracket is a documented, reproducible way to make Gmail's servers return 555 5.5.2 Syntax error, goodbye.If you instead see the visible error mention a mailbox that doesn't exist or is full, you are likely looking at a 550/552, not a true 555. Likewise, a non-ASCII address rejected by a server that doesn't support SMTPUTF8 is standardly a 550 (on MAIL) or 553 (on RCPT) with enhanced code X.6.7 per RFC 6531 §3.5 — not a 555. If you're chasing a genuine 555, look for an unrecognized or unimplemented ESMTP parameter (or malformed syntax) on the envelope command, not an address-encoding issue.
Because the fault is in the SMTP dialogue you (or your library/relay) generate, fix it on the sending side:
MAIL FROM: and RCPT TO: lines and the exact 555 response. This tells you which command and which parameter was rejected.EHLO response — it lists supported extensions (e.g. SIZE, 8BITMIME, SMTPUTF8, DSN, AUTH). Only send parameters that appear there.EHLO mail.example.com250-mx.receiver.com250-SIZE 26214400250-8BITMIME250 SMTPUTF8
SIZE=, DSN's RET=/NOTIFY=) that the server didn't advertise or that exceeds its advertised limit, drop or lower it.MAIL FROM:<sender@example.com> and RCPT TO:<recipient@example.com>. Most SMTP libraries handle this for you — if you are hand-building commands, this is the usual culprit.smtplib, avoid forcing DSN/8BITMIME/AUTH options unless the destination supports them; let the client negotiate from EHLO.With Courier
References
FAQ
Usually no. 555 is an envelope-command error about the MAIL FROM or RCPT TO line — typically an unsupported ESMTP parameter or malformed syntax on the sending side. A bad or nonexistent recipient mailbox returns 550, not 555. A non-ASCII address rejected for lack of SMTPUTF8 support returns 550 or 553, not 555, either. Re-spelling the recipient address rarely fixes a genuine 555.
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.1.1.11 and §4.2.3. Last reviewed Jul 1, 2026. Courier is not affiliated with third-party providers; error behavior may vary by implementation.
© 2026 Courier. All rights reserved.