SMTP codes
SMTP 535 Authentication credentials invalid
Wrong login or password, or the provider blocks basic authentication for this account.
- Class
- 5xx · Permanent failure
- Retried?
- No, the message bounces
- Defined in
- RFC 4954
What to do
- Check the login: many providers want the full address.
- Create an app password; Yandex and Mail.ru require one for mail clients.
- In Microsoft 365, enable SMTP AUTH for the mailbox (it is off by default).
How it appears in a bounce
535 Authentication credentials invalid
Paste the full bounce into the decoder — it finds every code and recipient and says what to check.