SMTP
503 Bad Sequence
The commands were sent in the wrong order. SMTP requires a specific command sequence (EHLO, MAIL FROM, RCPT TO, DATA) and this error indicates a step was skipped or repeated.
Khi bạn thấy mã này
When sending DATA before RCPT TO, or MAIL FROM before EHLO. The server enforces the correct SMTP command sequence and you have sent a command out of order.
Cách khắc phục
Follow the proper SMTP command sequence: EHLO/HELO first, then MAIL FROM, then RCPT TO (one or more), then DATA. Reset with RSET if you need to start over.