SMTP

SMTP 211 System Status vs 235 Authentication Successful

Both SMTP 211 (System Status) and 235 (Authentication Successful) belong to the 2xx Positive Completion category. 211 indicates that a system status reply providing information about the mail server's current state. This is typically sent in response to a HELP or system inquiry command. Meanwhile, 235 means that the client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session.

描述

A system status reply providing information about the mail server's current state. This is typically sent in response to a HELP or system inquiry command.

何时出现

When querying the mail server for its status or capabilities. The server is sharing diagnostic or informational details about itself.

如何修复

No fix needed — this is an informational response. If the status indicates a problem, review the server's configuration or contact the mail administrator.

描述

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.

主要区别

1.

SMTP 211: A system status reply providing information about the mail server's current state. This is typically sent in response to a HELP or system inquiry command.

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.

You encounter 211 when when querying the mail server for its status or capabilities. The server is sharing diagnostic or informational details about itself.

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.

何时使用哪个

For 211 (System Status): No fix needed — this is an informational response. If the status indicates a problem, review the server's configuration or contact the mail administrator. 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.

了解更多