SMTP · Authentication Credentials Invalid

SMTP Error Code 535

SMTP authentication failed because the credentials were rejected.

errorLast verified 2026-11-10RFC 4954: SMTP Authentication
Quick answer

SMTP authentication failed because the credentials were rejected.

Code535
ProductSMTP
Company / originIETF · International standard
CategoryEmail & Messaging
Platform / versionsSMTP clients and mail servers · RFC 5321
Severityerror
Official sourceRFC 4954: SMTP Authentication ↗
Last verified2026-11-10

What does SMTP error 535 mean?

SMTP 535 is an authentication failure from the SMTP AUTH extension. The server understood the credentials but rejected them, which usually means a wrong password, a required app password, or a disabled authentication method.

Common causes

  • The username or password is wrong, or the account has been disabled.
  • The provider requires an app password or OAuth instead of the normal account password.
  • The client is using an authentication method the server does not allow.

How to fix it

  1. Step 1

    Verify the username and password, and use an app password if the provider requires one.

  2. Step 2

    Confirm that SMTP AUTH is enabled for the account and that the client uses a supported method.

  3. Step 3

    Do not retry repeatedly with the same credentials; repeated failures can trigger a temporary block.

When to escalate

Before you escalate: If a message is rejected permanently, read the full SMTP response and the enhanced status code. Contact the receiving mail administrator with the sending IP, recipient address, timestamp, SMTP transcript, and any message ID.

Related codes

CodeNameWhat it means
220Service ReadyThe server is ready to accept a new SMTP session.
250OKThe requested SMTP command completed successfully.
354Start Mail InputThe server is ready to receive the message data.
421Service Not AvailableThe service is temporarily unavailable and the connection will close.
450Mailbox UnavailableThe recipient mailbox is temporarily unavailable.

Source & verification

This page was checked against RFC 4954: SMTP Authentication on 2026-11-10. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.

Open Error Codes is independent and not affiliated with IETF. Always confirm destructive or security-sensitive steps with the official documentation.