What SMTP 535 means
RFC 4954 defines 535 5.7.8 'Authentication credentials invalid': the server rejected the username and password (or token) your client offered.
Providers reuse 535 for every reason a login can fail. Gmail returns 535 5.7.8 'Username and Password not accepted' when an account needs an app password or OAuth. Microsoft 365 returns 535 5.7.3 for a failed login and 535 5.7.139 when SMTP AUTH is disabled for the tenant or mailbox.
What to do about a 535
- Re-enter the credentials and sign in to the webmail with the same account to confirm they work.
- For Google accounts with 2-step verification, use an app password or OAuth. For Microsoft 365, check that Authenticated SMTP is enabled for the mailbox and that security defaults don't block it.
- Don't suppress anyone. A 535 happens before any recipient is involved.
- If the same login suddenly fails after working for weeks, check for a changed password, a new security policy, or a provider notice about the account before changing your sending setup.
Common 535 errors
The enhanced code after the 535 carries the real meaning. These are the ones cold emailers run into most, each with its causes and fix.
- 535 5.7.3 Microsoft 365 Authentication unsuccessful Fix your setup, keep the contact
- 535 5.7.8 Username and password not accepted Fix your setup, keep the contact
- 535 5.7.139 Microsoft 365 SMTP AUTH is disabled for the tenant or mailbox Fix your setup, keep the contact
Reading the rest of the bounce
A bounce usually carries three things: the basic code (535), an enhanced status code such as 5.7.1 (class, subject and detail), and a line of text from the server. The enhanced code and the text are more specific than the basic code, so always read them before deciding whether to suppress a contact. Paste the full bounce into the SMTP error code lookup to decode all three at once.