Opens in a new tab

SMTP 5.7.8: authentication credentials invalid

5.7.8 means the login to the mail server failed: the user name or password — or the token — was not accepted. It comes with 535.

Code5.7.8
MeaningAuthentication credentials invalid
KindPermanent failure — the sender gives up
Sent in reply toWith 535, at AUTH
What the sender doesAsks for new credentials
Defined inRFC 4954

Paste your bounce

Paste the line with the code — or the whole bounce: we explain each code in it, say whether the sender will try again, and link the service’s own page where it has one. It is read in your browser; nothing is sent.

What to do

  • Check the credentials; for Google, use OAuth or an app password — plain passwords stopped working on 14 March 2025.

What each provider means by it

WhoWhat they say
GmailAnswers a failed login with 535 “Username and Password not accepted”.
Microsoft 365Password SMTP AUTH is off by default for existing tenants from the end of December 2026, refused with 550 5.7.30.

Related: 535, 5.7.9.

Sources

Checked on 27 September 2026 against these official sources:

See every bounce before your customers do

Add your domain and send us a test message: we show what a receiving server saw — authentication, reverse DNS, blocklists, TLS — and monitor the servers you send from for blocklistings every day. Free for your first domain.

Create a free account