SMTP

SMTP 220 Service Ready vs 535 Authentication Failed

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

Beschreibung

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.

Wann Sie es sehen

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.

Wie man es behebt

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.

Beschreibung

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

Wann Sie es sehen

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

Wie man es behebt

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.).

Wesentliche Unterschiede

1.

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

2.

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

3.

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

4.

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.

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.

Wann welchen verwenden

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 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.).

Mehr erfahren