SMTP

SMTP 235 Authentication Successful vs 535 Authentication Failed

SMTP 235 (Authentication Successful) is a 2xx Positive Completion response, while 535 (Authentication Failed) 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, 535 means that the authentication credentials provided are invalid. The username, password, or authentication mechanism was rejected by the server.

คำอธิบาย

The client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session.

เมื่อคุณพบเห็น

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.

วิธีแก้ไข

No fix needed — authentication succeeded. If you expected this but received a different code, double-check your username, password, and the authentication mechanism.

คำอธิบาย

The authentication credentials provided are invalid. The username, password, or authentication mechanism was rejected by the server.

เมื่อคุณพบเห็น

After submitting incorrect credentials via the AUTH command. The username or password does not match any account on the server.

วิธีแก้ไข

Double-check your username and password. If using an app password (e.g., Gmail, Outlook), ensure it is current and has not been revoked. Also verify the correct SASL mechanism (PLAIN, LOGIN, etc.).

ความแตกต่างหลัก

1.

235 is a 2xx Positive Completion response, while 535 is a 5xx Permanent Negative response.

2.

SMTP 235: The client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session.

3.

SMTP 535: The authentication credentials provided are invalid. The username, password, or authentication mechanism was rejected by the server.

4.

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.

5.

You encounter 535 when after submitting incorrect credentials via the AUTH command. The username or password does not match any account on the server.

ควรใช้อันไหนเมื่อไร

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 535 (Authentication Failed): Double-check your username and password. If using an app password (e.g., Gmail, Outlook), ensure it is current and has not been revoked. Also verify the correct SASL mechanism (PLAIN, LOGIN, etc.).

เรียนรู้เพิ่มเติม