Deliverability

SMTP2GO 535 Incorrect authentication data: how to fix it

SMTP2GO returns "535 Incorrect authentication data" when the username and password your app sent do not match a valid SMTP user. Check that you are using SMTP user credentials, not a dashboard login or API key, copy them exactly, then test the login outside your app.

Sohail HussainSohail Hussain8 min read

Short answer

  • SMTP2GO returns 535 when the username and password your app sent during SMTP AUTH were refused. Use the credentials of an SMTP user created in your SMTP2GO dashboard, not your dashboard login.
  • Copy the username and password exactly, then test them with a tool like swaks before touching your app again. If you see 550 Relay access denied instead, your client did not authenticate at all.

Your app, plugin or mail client tried to send through SMTP2GO and got this back:

535 Incorrect authentication data

Or, in a related case, 550 Relay access denied - please authenticate. Both are login problems, but they are not the same one, and the fixes differ.

Why it happens

SMTP replies are a three-digit code plus text. The 535 code is defined in RFC 4954 as "authentication credentials invalid." The reply comes from the server you are logging in to, so the connection worked and the server refused what you presented. That rules out DNS problems, spam filtering and recipient-side rejections; no message was accepted for delivery.

SMTP2GO lists this and related errors in its help center article on common sending errors. Its fix for this specific error is not spelled out there, so the order below is my own checking order, not an official procedure.

Causes, most common first:

  1. Wrong kind of credential. A dashboard login, an API key and an SMTP user are three different things. Only an SMTP user's username and password are meant for SMTP login.
  2. Copy-paste damage. A trailing space, a line break or a smart quote from a document.
  3. Special characters in a URL-style setting. Symbols in the password break the parser.
  4. A changed, disabled or deleted SMTP user. Often after a password rotation.
  5. Wrong host, port or encryption mode. This usually causes a timeout or TLS error rather than a 535, but it is quick to rule out.
CauseTypical symptomFix
Dashboard login or API key used535 on first setupCreate or open an SMTP user and use its credentials
Whitespace or smart quotes535 with credentials that look rightRetype into a plain-text field
Unencoded symbols in an SMTP URL535 only with certain passwordsPercent-encode, or use a password without symbols
SMTP user rotated or deletedWorked before, fails nowCheck the SMTP user page, update the app
Authentication off in the client550 Relay access deniedTurn on SMTP AUTH and supply credentials

Fix 1: use SMTP user credentials

This is the most common cause. An SMTP2GO account has several things that look like a password: your dashboard login, API keys for the HTTP API, and SMTP users created for sending over SMTP.

  1. Sign in to the SMTP2GO dashboard.
  2. Open the SMTP users page. If the menu labels have moved, search the dashboard or help center for "SMTP users".
  3. Create a new SMTP user, or open an existing one and confirm its exact username.
  4. If you lost the password, set a new one and note every app that uses it.
  5. Copy the username and password into your app's SMTP settings.

Do not assume an API key works

An API key is meant for the HTTP API. I would not use one as an SMTP password; create an SMTP user instead.

Fix 2: remove copy-paste damage and special characters

Credentials fail quietly when they pick up a trailing space, a line break or a smart quote. Retype them, or paste into a plain-text field first and check the length.

If your app stores SMTP settings as a URL, such as smtp://user:pass@host, characters like @, :, / and # in the password must be percent-encoded. Otherwise the parser splits the string in the wrong place and sends a different password than you intended. The simplest workaround is a new password without symbols.

Fix 3: check host, port and encryption mode

Confirm these against SMTP2GO's current documentation. As I understand it, the host is mail.smtp2go.com, with STARTTLS on ports such as 587 or 2525 and implicit TLS on 465. Match the mode to the port; mixing them breaks the handshake before authentication even starts.

Our explainer on SSL/TLS for email and SMTP encryption covers STARTTLS versus implicit TLS, and the SMTP glossary entry covers the basics.

Fix 4: check whether the SMTP user changed

If this setup worked before, something changed. Look for:

  • A password reset on the SMTP user that nobody pushed to the app
  • A deleted or replaced SMTP user
  • Staging and production sharing one set of credentials, where one side was rotated
  • A suspended or restricted account (check the dashboard for notices and contact support)

The SMTP user's page settles most of these in a minute.

Test the login outside your app

Test the credentials directly before blaming SMTP2GO or your application. With swaks installed:

swaks --to you@example.com --from sender@example.com \
  --server mail.smtp2go.com --port 587 \
  --auth LOGIN --auth-user "YOUR_SMTP_USERNAME" \
  --tls

It prompts for the password. If this succeeds, the credentials are fine and your app's configuration is wrong, often a stale environment variable or cached config. If it returns 535, SMTP2GO is rejecting the credentials themselves.

To see the raw exchange, run openssl s_client -starttls smtp -connect mail.smtp2go.com:587, then type EHLO example.com to see which authentication methods the server advertises.

Login can work and sending still fail

A successful login can still be followed by a rejection of the sender address if that sender or domain is not set up in SMTP2GO. That is a different error with a different fix.

When you get 550 Relay access denied - please authenticate

550 Relay access denied - please authenticate

This means the server was asked to relay a message without a successful login. Your client did not authenticate at all, so it is not a wrong-password problem. Common reasons:

  • "Authentication" or "Use SMTP AUTH" is switched off in the app
  • A library is configured with the host but not the username and password
  • A plugin is sending through its default local mail function instead of SMTP2GO

Turn authentication on, supply the SMTP user's credentials, and retest. If login then fails, you are back to the 535 causes above.

Checklist before you try again

  • The username and password belong to an SMTP user, not your dashboard login
  • No leading or trailing spaces, line breaks or smart quotes
  • Symbols are percent-encoded if the settings are a URL
  • Host, port and encryption mode match each other
  • SMTP authentication is switched on in the client
  • A direct swaks test returns the same result as your app

Prevent it from coming back

Create one SMTP user per app or environment, so rotating one password does not break everything. Keep credentials in a secrets manager or environment variable rather than in a URL. Send a test message right after any password change.

If nothing works

If a fresh SMTP user, a clean copy of its credentials and a direct swaks test all still return 535, contact SMTP2GO support. Include:

  • The exact error text and a timestamp with timezone
  • The SMTP username (never the password)
  • The host and port you used
  • The output of the swaks run
  • What you already tried
Subject: 535 Incorrect authentication data on a new SMTP user

Hello,

Since [date and time, timezone] I get "535 Incorrect authentication data"
when authenticating over SMTP.

SMTP username: [username]
Host and port: mail.smtp2go.com:587 (STARTTLS)
Tested with: swaks, output attached

I created a fresh SMTP user, retyped the password and confirmed there are
no extra spaces. The result is the same from my app and from swaks.

Could you check whether this SMTP user is active and whether the account
has any restriction?

Thank you

Common questions

Can I use my SMTP2GO dashboard password for SMTP?

No. The dashboard login is for the web interface. Create an SMTP user and use its username and password.

Is 535 a deliverability or spam problem?

No. It happens at login, before any message is accepted, so reputation and content do not come into it.

Why does it fail in my app but work in swaks?

Then the credentials are valid and the app is the problem. Look for a stale environment variable, cached configuration or a URL-encoding issue with the password.

Why do I get 550 Relay access denied instead of 535?

Your client sent mail without authenticating. Enable SMTP authentication in the app and supply the SMTP user's credentials.

deliverabilitysmtp2goerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Related Articles

Deliverability

451 4.7.500 Server busy: SMTP2GO stuck at Processed (Microsoft)

`451 4.7.500 Server busy. Please try again later.` is a temporary Microsoft deferral of the connecting IP, not a problem with your message. SMTP2GO keeps retrying, so mail sits at "Processed" for hours. Ask SMTP2GO to rotate your IP, move to a dedicated IP, or allow-list carefully in Defender.

Sohail Hussain|9 min read
Deliverability

550 5.7.1 MailFrom domain is listed in Spamhaus DBL: how to delist

This bounce means the receiving server found your envelope sender domain on the Spamhaus Domain Block List (DBL). Changing your IP won't help. Look the domain up at check.spamhaus.org, find and stop the abuse behind the listing, publish DMARC to see who sends as you, then submit a removal request.

Sohail Hussain|10 min read
Deliverability

SMTP2GO "error 8" and Other Email Provider Signup Rejections

When SMTP2GO shows "error 8", or SendGrid or MailerSend deny your account without a reason, an account-level screening decision was made before you sent anything. Use an aged domain with a real website, a business email address and a specific use case, appeal once with details, then switch providers if it fails.

Sohail Hussain|8 min read
Deliverability

DKIM:Quarantine on SMTP2GO mail to Gmail: DMARC fix (aspf=r)

When SMTP2GO mail to Gmail is quarantined and flagged DKIM:Quarantine, DMARC is failing for your From domain because neither DKIM nor SPF aligns with it. Publish SMTP2GO's DKIM and return-path CNAMEs on your own domain, make sure aspf is relaxed, and keep your DMARC policy at quarantine or reject.

Sohail Hussain|8 min read

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free