Basic SMTP reply code · RFC 5321
501 Syntax error in parameters
Syntax error in the command's parameters or arguments.
- Class: 5yz · Permanent failure
5yz: a permanent failure. The same request should not be repeated; something must change first, such as the address (RFC 5321 §4.2.1). - Source
How 501 appears at providers
The exact text from the provider's documentation, as you see it in the bounce, and what it means.
Gmail
-
501 5.5.2
Syntax error, cannot decode response.
The SMTP command sent could not be understood (a syntax error).
-
501 5.5.4
HELO/EHLO argument argument invalid closing connection.
The HELO/EHLO name is invalid or missing. The server must introduce itself with its full name. Check with Mail delivery test.
-
501 5.5.4
Empty HELO/EHLO argument not allowed, closing connection.
The HELO/EHLO name is invalid or missing. The server must introduce itself with its full name. Check with Mail delivery test.
-
501 5.7.11
Syntax error (no parameters allowed).
STARTTLS was sent with parameters, and RFC 3207 allows none.
Have the whole error message?
Sources: RFC 5321 · RFC 3463 · RFC 3464 · IANA · Gmail · Microsoft 365 · read on 26 September 2026