SMTP 220 Service Ready vs 235 Authentication Successful
Both SMTP 220 (Service Ready) and 235 (Authentication Successful) belong to the 2xx Positive Completion category. 220 indicates that the SMTP server is ready to begin the mail transaction. This greeting is the first response a client receives upon connecting, and it typically includes the server's hostname and software identificati 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.
Mô tả
The SMTP server is ready to begin the mail transaction. This greeting is the first response a client receives upon connecting, and it typically includes the server's hostname and software identification.
Khi bạn thấy mã này
Immediately after establishing a TCP connection to the mail server on port 25, 465, or 587. This is the server's welcome banner confirming it is ready to accept commands.
Cách khắc phục
No fix needed — this confirms a successful connection. If you do not receive this greeting, check that the server is running, the port is correct, and no firewall is blocking the connection.
Mô tả
The client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session.
Khi bạn thấy mã này
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ách khắc phục
No fix needed — authentication succeeded. If you expected this but received a different code, double-check your username, password, and the authentication mechanism.
Sự khác biệt chính
SMTP 220: The SMTP server is ready to begin the mail transaction. This greeting is the first response a client receives upon connecting, and it typically includes the server's hostname and software identificati
SMTP 235: The client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session.
You encounter 220 when immediately after establishing a TCP connection to the mail server on port 25, 465, or 587. This is the server's welcome banner confirming it is ready to accept commands.
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.
Khi nào dùng cái nào
For 220 (Service Ready): No fix needed — this confirms a successful connection. If you do not receive this greeting, check that the server is running, the port is correct, and no firewall is blocking the connection. 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.