clement

SMTP 500: Syntax error, command unrecognized

500 means the server didn't recognize a command your client sent. It's a protocol problem between two pieces of software, not a judgment on your email.

Type
Permanent failure (hard bounce)
Reply text in the RFC
500 Syntax error, command unrecognized

What SMTP 500 means

RFC 5321 defines 500 as 'Syntax error, command unrecognized', noting that this may include errors such as a command line that's too long. The server couldn't parse what your client sent.

You rarely see 500 from a mainstream sending tool. It shows up with homemade scripts, old libraries, or when something between you and the server (a proxy, an antivirus scanner, a firewall doing SMTP inspection) mangles the conversation.

What to do about a 500

  • Check the SMTP log to see which command the server rejected.
  • Make sure you're connecting to an SMTP port (587 or 465 for sending through a provider) and that the TLS mode matches the port. Speaking plain SMTP to a TLS port, or the reverse, produces garbled commands.
  • Update the email library or tool, and test without any proxy or security software in the path. Don't suppress the recipient: the message never reached the point where the address mattered.

Reading the rest of the bounce

A bounce usually carries three things: the basic code (500), an enhanced status code such as 5.7.1 (class, subject and detail), and a line of text from the server. The enhanced code and the text are more specific than the basic code, so always read them before deciding whether to suppress a contact. Paste the full bounce into the SMTP error code lookup to decode all three at once.

FAQ

What does SMTP 500 mean?

500 is "Syntax error, command unrecognized". 500 means the server didn't recognize a command your client sent. It's a protocol problem between two pieces of software, not a judgment on your email.

Is 500 a hard bounce or a soft bounce?

500 is a permanent failure (a hard bounce): sending the same message again won't work. Whether to remove the contact depends on the enhanced code after it; only address errors (5.1.x) mean the recipient is bad.

Other permanent SMTP reply codes

Sources

Try Clement free for 14 days

Clement reads the bounces that land in your Gmail and SMTP inboxes and tells dead addresses apart from policy blocks: it suppresses the first across every campaign and keeps the contact on the second, so you don't have to decode bounces by hand.

Start free trial