SMTP Error Encyclopedia · Entry 025

Bad sequence of commands

Generic · Protocol · 503 5.5.1

Exact response pattern503 5.5.1 Bad sequence of commands
PermanentGenericProtocol

What it means

SMTP commands were sent in the wrong order.

Likely causes

  • DATA before RCPT.
  • AUTH before EHLO where not allowed.
  • Session state lost.

Recommended response

  1. Review the full transcript.
  2. Correct the client state machine.
Operational rule: Preserve the complete SMTP response, remote hostname, sending IP, envelope sender and timestamp. Never diagnose from the three-digit code alone.

Related entries

Browse all SMTP errors Decode a bounce

Search Trushilla Documentation