Skip to main content

Troubleshooting SMTP Authentication

An authentication error means the provider reached the login step and rejected it. The network is working. The credentials, permissions, or login method are not.

First, identify the method​

MethodWhat counts as the password
SMTPMailbox password, app password, or generated SMTP password
GmailGoogle app password
Outlook or Microsoft 365Mailbox password or app password, with SMTP AUTH enabled
API providerAPI key, token, or key pair

Using the account password where the provider expects an app password is the most common mistake.

SMTP errors​

ErrorMeaningFix
535 Authentication failedUsername or password rejectedRe-copy both values. Check for spaces.
530 Authentication requiredThe server requires a loginTurn on SMTP authentication
534 5.7.9 Application-specific password requiredGoogle wants an app passwordCreate one and use it
550 5.7.8 Username and password not acceptedGmail rejected the loginUse an app password, not the account password
5.7.60 Send As deniedMicrosoft rejected the From addressUse the mailbox or grant Send As permission
Relay access deniedThe server will not relay for this accountCheck the username, domain, or provider plan

API errors​

ErrorMeaningFix
401 UnauthorizedKey or token is wrong, revoked, or from another accountCreate a new key and paste it again
403 ForbiddenKey is valid but lacks permissionAdd the send scope or verify the domain
422 Unprocessable EntityRequest rejected, often a sender or recipient problemRead the message field in the response
429 Too Many RequestsRate limit or plan limitLower your sending rate and check the plan

Common causes​

  • The key was copied with a space or a line break.
  • The password was changed at the provider.
  • Two-factor authentication is on and the account password no longer works.
  • The provider requires an app password.
  • An admin disabled SMTP AUTH for the mailbox.
  • The API key lacks the send permission.
  • The key is restricted to an IP address that does not match the server.
  • The provider account is suspended or unpaid.

Test in the right order​

  1. Save the new credential. The text says tests use saved credentials.
  2. Click Test connection.
  3. If it passes, click Send test email.
  4. If that passes, send a test email.

Do not change three fields at once. Change one, save, test.

When the provider uses OAuth​

LetterPress sends through mailbox passwords and app passwords, not OAuth. If a plugin was using "Sign in with Google" or "Sign in with Microsoft" to send, there is no password to copy.

Create an app password where the provider allows it, or switch to an API provider. Gmail and Microsoft 365 may block app passwords for some organizations.

Next steps​