Skip to content
FunnelGuard

Fix guide by FunnelsGuard

SMTP plugin credentials expired: fix WP Mail SMTP and FluentSMTP

DLV-010High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

SMTP is the standard way a website hands an email to a mail service. Plugins such as WP Mail SMTP and FluentSMTP replace WordPress's default sending with a login to a provider like Gmail, Microsoft 365, Brevo, SendGrid or your host's mail server.

That login uses a username plus a password, an app password or an API key. If it stops being valid, the provider answers with an error such as 535 Authentication failed or Username and Password not accepted. The plugin cannot send, and the notification is lost unless you have logging or a fallback.

Common triggers: someone changed the mailbox password, a Google account password change revoked its app passwords, an admin turned off app passwords or SMTP AUTH, two-step verification was changed, the mailbox was deleted, or an API key was rotated.

Why it costs you leads or sales

The visitor sees a normal thank-you message, so nobody notices. The lead is not in your inbox and, unless the form plugin also saves entries, it may not exist anywhere. Every day the credential stays broken, new enquiries go unanswered.

Where the lead is lost
  1. Visitor submits formThank-you page shows
  2. Plugin logs in to SMTPPassword or app password refused
  3. Email sentNever leaves the site
  4. Owner repliesNever knows the lead exists

The form works, but the mail login is refused so the owner never hears about the lead.

Leads reaching your inbox after the credential breaksExample numbers
Leads reaching your inbox after the credential breaks (example)Week before: 20 leads per week; Week 1 broken: 0 leads per week; Week 2 broken: 0 leads per week; Week after fix: 20 leads per week0815200020Week beforeWeek 1 brokenWeek 2 brokenWeek after fixleads per week

Example: a site getting 20 form leads a week. Before the credential breaks all 20 arrive; afterwards none do until it is fixed.

How to check if your site has it

Find out whether SMTP login is failing
  1. Send the plugin's test emailWordPress

    WP Mail SMTP: WP Mail SMTP > Tools > Email Test. FluentSMTP: Settings > Email Test. A red error means the login or connection is failing.

  2. Read the email logWordPress

    WP Mail SMTP: WP Mail SMTP > Email Log (needs logging enabled, a paid feature in some versions). FluentSMTP: Logs. Look for failed status and the error text.

  3. Match the error to a cause

    See the table below. Authentication errors point to an expired, changed or revoked credential.

  4. Check the mail account

    Sign in to the mailbox or provider. Look for security alerts, a password change, a revoked app password or a disabled API key.

  5. Submit a real test lead

    Fill in your form yourself and see whether the notification arrives, including after checking spam.

Typical SMTP error messages and what they usually mean
Error textUsual causeWhat to do
535 Authentication failed / Username and Password not acceptedPassword changed or app password revokedCreate a new app password and save it
534 Application-specific password requiredAccount uses two-step verification and a normal password was usedGenerate an app password
535 5.7.139 SmtpClientAuthentication is disabledSMTP AUTH turned off in Microsoft 365Ask the admin to enable it for that mailbox, or use another mailer
401 / 403 Unauthorized or Forbidden from an API mailerAPI key rotated or deletedCreate a new key and save it
Could not connect / timeoutPort blocked or wrong hostCheck host, port and encryption; this is a different issue

How to fix it

Reconnect your mailer
  1. Create a new credential

    Google: Google Account > Security > 2-Step Verification > App passwords, create a new one. Microsoft 365 and other providers: reset the password or create a new key in their admin area.

  2. Open the plugin settings

    WP Mail SMTP > Settings > Mailer, or FluentSMTP > Settings > your connection.

  3. Paste the new value and save

    Enter the new password, app password or API key. Remove spaces from a Google app password if the plugin rejects them.

  4. Send a test email

    Use the plugin's test tool and confirm it arrives. If the provider supports OAuth, consider reconnecting that way instead (see DLV-011).

After reconnecting
  1. Resend missed leads

    Check your form plugin's saved entries (if it stores them) and follow up on every lead received since the failure began.

  2. Turn on failure alerts in the plugin

    WP Mail SMTP and FluentSMTP both offer ways to be notified of failed emails (some in paid tiers). Enable the one available to you and send it to a different address.

How to confirm it's fixed

Confirmation checks
  • The plugin's test email succeeds and arrives in the inbox
  • The email log shows a sent status for a new entry
  • A real form submission produces a notification within a minute or two
  • The notification is in the inbox, not spam
  • The lead appears in your CRM if the form feeds one

How to prevent it happening again

Prevention
  • Use a dedicated sending account or API mailer, not a person's mailbox
  • Write down who owns the credential and where it was created
  • Review SMTP credentials whenever staff leave or passwords policies change
  • Enable failed-email alerts in the SMTP plugin
  • Keep form entries saved in the form plugin as a backup
  • Submit a test lead on a schedule and check that it arrives
How a revoked app password goes unnoticed
  1. Day 0

    Someone changes the Google account password; the app password is revoked.

  2. Day 0

    The next form submission fails to send. The visitor still sees a thank-you.

  3. Days 1 to 13

    Leads keep arriving at the form and vanishing. Nobody is alerted.

  4. Day 14

    A customer asks why nobody replied; the team finds the login error.

  5. Day 14

    New app password saved; test email succeeds.

How FunnelGuard handles this

FunnelGuard detects this only partly. It runs your form as a robot visitor on a schedule and checks whether the test lead reaches the inbox. If the email is missing, FunnelGuard detects the missing email and alerts you with a screenshot.

What it does not do: it does not name the cause. It cannot tell you that the SMTP password expired rather than, for example, a spam-folder or recipient problem, and it does not read your plugin's settings or email log.

The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month with a 3-day free trial. A free read-only website audit is also available.

Questions people ask

Why is my WordPress form not sending emails after it worked before?

A common cause is that the SMTP login behind your mail plugin stopped working, for example the password changed or an app password was revoked. Open the email log in WP Mail SMTP or FluentSMTP and look for an authentication error. Then save a new credential and send a test email.

How do I fix WP Mail SMTP authentication failed?

Create a new password, app password or API key with your mail provider, then paste it into WP Mail SMTP > Settings and save. Send a test from WP Mail SMTP > Tools > Email Test. Finally submit a real form to confirm delivery.

Does changing my Google password break app passwords?

Yes, in many cases. Changing the account password can revoke existing app passwords, so any plugin using one will start failing. Generate a new app password and update the plugin.

How can I tell if my SMTP plugin is failing?

Send the plugin's test email and read its email log. Errors such as 535 Authentication failed or Username and Password not accepted mean the login is being refused. A missing notification after a real form submission is the usual sign.

Will visitors see an error when SMTP credentials are expired?

Usually not. The form submits and shows a thank-you message, but the notification fails in the background. That is why the problem can go unnoticed for weeks.

Can FunnelGuard tell me my SMTP password expired?

Not by name. FunnelGuard detects that a test lead's email did not arrive, but it does not identify the cause. Check your SMTP plugin's email log to confirm.

Should I use a personal mailbox for website email?

It is better not to. A dedicated sending account or an API-based mailer is not affected when a person changes their password or leaves the company.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: Missing email detected; cause not named.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.