SMTP 235 Authentication Successful vs 500 Syntax Error
SMTP 235 (Authentication Successful) is a 2xx Positive Completion response, while 500 (Syntax Error) is a 5xx Permanent Negative response. 235 indicates that the client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session. In contrast, 500 means that the server could not recognize the command due to a syntax error. The command line was malformed or the command is not recognized by this server.
Descripción
The client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session.
Cuándo lo verás
After submitting valid credentials via the AUTH command (LOGIN, PLAIN, or other SASL mechanism). The server has verified your identity and you can now send mail.
Cómo solucionarlo
No fix needed — authentication succeeded. If you expected this but received a different code, double-check your username, password, and the authentication mechanism.
Descripción
The server could not recognize the command due to a syntax error. The command line was malformed or the command is not recognized by this server.
Cuándo lo verás
When you send a command the server does not understand — often due to a typo, unsupported command, or an excessively long line.
Cómo solucionarlo
Check the command spelling and syntax against the SMTP specification. Ensure the command line does not exceed 512 characters and uses proper CRLF line endings.
Diferencias clave
235 is a 2xx Positive Completion response, while 500 is a 5xx Permanent Negative response.
SMTP 235: The client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session.
SMTP 500: The server could not recognize the command due to a syntax error. The command line was malformed or the command is not recognized by this server.
You encounter 235 when after submitting valid credentials via the AUTH command (LOGIN, PLAIN, or other SASL mechanism). The server has verified your identity and you can now send mail.
You encounter 500 when when you send a command the server does not understand — often due to a typo, unsupported command, or an excessively long line.
Cuándo usar cada uno
For 235 (Authentication Successful): No fix needed — authentication succeeded. If you expected this but received a different code, double-check your username, password, and the authentication mechanism. For 500 (Syntax Error): Check the command spelling and syntax against the SMTP specification. Ensure the command line does not exceed 512 characters and uses proper CRLF line endings.