Enhanced Status Code 5.7.8: Authentication Credentials Invalid
Enhanced Status Code 5.7.8 means “Authentication Credentials Invalid.” The SMTP authentication credentials (username and/or password) you provided are incorrect or have expired. The server rejected your login attempt. Update your credentials immediately.
535 5.7.8 Username and Password not accepted. For more information, go to https://support.google.com/mail/?p=BadCredentials
What does 5.7.8 mean?
Enhanced status code 5.7.8 means the username and/or password provided during SMTP AUTH were rejected by the server. This is a straightforward credential issue - the login attempt failed. This commonly occurs when sending through a relay server or SMTP submission service.
Common causes include expired passwords, password rotation by IT administrators, disabled accounts, or using OAuth tokens that have expired. Many organizations now require app-specific passwords or OAuth2 for SMTP authentication rather than regular account passwords.
How 5.7.8 plays out
5.7.8 rejectionWhere 5.7.8 sits: soft vs hard bounce
| Soft bounce (4xx) | Hard bounce (5xx) | |
|---|---|---|
| Nature | Temporary | Permanent |
| SMTP class | 4xx | 5xx |
| What to do | Let it retry | Suppress the address |
| Recoverable? | Often | No |
| 5.7.8 is | ✓ this code |
Common causes of 5.7.8
- Password has been changed or expired
- Username is incorrect or account does not exist
- Account has been disabled or suspended
- Using regular password instead of required app-specific password
- OAuth2 token has expired and needs to be refreshed
How to fix 5.7.8
- Verify your SMTP username and password are correct
- Check if the password was changed or expired
- Generate a new app-specific password if required (Gmail, Microsoft)
- Refresh your OAuth2 token if using OAuth authentication
- Contact your email service provider for credential issues