Basic SMTP reply code · RFC 5321
502 Command not implemented
The server does not implement this command.
- 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 502 appears at providers
The exact text from the provider's documentation, as you see it in the bounce, and what it means.
Gmail
-
502 5.5.1
Unimplemented command.
The SMTP client sent a command that is unknown, not implemented or out of order (RFC 5321). The problem is in the sending software.
-
502 5.5.1
Unrecognized command.
The SMTP client sent a command that is unknown, not implemented or out of order (RFC 5321). The problem is in the sending software.
-
502 5.5.1
Too many unrecognized commands, goodbye.
The SMTP client sent a command that is unknown, not implemented or out of order (RFC 5321). The problem is in the sending software.
Have the whole error message?
Sources: RFC 5321 · RFC 3463 · RFC 3464 · IANA · Gmail · Microsoft 365 · read on 26 September 2026