SMTP

SMTP 235 Authentication Successful vs 252 Cannot Verify User

Both SMTP 235 (Authentication Successful) and 252 (Cannot Verify User) belong to the 2xx Positive Completion category. 235 indicates that the client has been successfully authenticated using the AUTH command. The server will now accept mail commands from this authenticated session. Meanwhile, 252 means that the server cannot verify the user but will accept the message and attempt delivery. This is often returned in response to VRFY when the server intentionally hides user information.

Descrição

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

Quando você o vê

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.

Como corrigir

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

Descrição

The server cannot verify the user but will accept the message and attempt delivery. This is often returned in response to VRFY when the server intentionally hides user information.

Quando você o vê

When using the VRFY command to check if a recipient exists. The server refuses to confirm or deny the address, typically as a spam-prevention measure.

Como corrigir

No fix needed — the server will still attempt delivery. If you need to verify addresses, contact the mail administrator or rely on bounce-back messages instead.

Diferenças principais

1.

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

2.

SMTP 252: The server cannot verify the user but will accept the message and attempt delivery. This is often returned in response to VRFY when the server intentionally hides user information.

3.

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.

4.

You encounter 252 when when using the VRFY command to check if a recipient exists. The server refuses to confirm or deny the address, typically as a spam-prevention measure.

Quando usar qual

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 252 (Cannot Verify User): No fix needed — the server will still attempt delivery. If you need to verify addresses, contact the mail administrator or rely on bounce-back messages instead.

Saiba mais