Skip to content
FunnelGuard

Fix guide by FunnelsGuard

SMTP credentials expired: form notification emails stop

CNV-061High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

SMTP is the standard way a website hands an email to a mail server for delivery. Many sites do not send mail directly. They log in to a service such as Google Workspace, Microsoft 365, or a transactional email provider using a username and password, an app password, an API key or an OAuth token.

When that login stops working, the server rejects the send with an error such as 535 Authentication failed. Your form plugin often ignores this. The visitor sees the normal thank-you message, and nobody tells you the notification was never sent.

Common triggers: someone changed the mailbox password, an app password was revoked, two-factor settings changed, an OAuth connection expired or was removed, a provider disabled basic authentication, or an API key was rotated or deleted.

Why it costs you leads or sales

The lead is real, but you never hear about it. Enquiries sit unanswered for days. Because the form looks fine from the front, the problem can run for weeks. Fast replies matter most for quotes, bookings and demo requests, so the cost grows each day it goes unnoticed.

Where the lead is lost
  1. Visitor submits formPage shows a thank-you message
  2. Site sends email via SMTPLogin rejected: authentication failed
  3. Notification in inboxNever arrives
  4. Your team repliesNever knows the lead exists

The form works, but the email step fails, so everything after it is lost.

Leads missed while the problem goes unnoticedExample numbers
Leads missed while the problem goes unnoticed (example)1 day: 3 leads; 1 week: 21 leads; 2 weeks: 42 leads; 1 month: 90 leads0346932142901 day1 week2 weeks1 monthleads

Example: a site getting 3 form leads a day with no notifications. The longer it runs, the more leads wait unseen.

How to check if your site has it

Quick diagnosis
  • Submit your own form with a test email address and see whether the notification arrives (check spam too).
  • Open your site's email log or SMTP plugin log and look for errors like 535, 534, 530, 'invalid_grant', 'Authentication failed' or 'Username and Password not accepted'.
  • Check when the last notification arrived. A sudden stop on a specific date often matches a password change or expiry.
  • Check whether the form entries are still saved in the site (many form plugins store them). If entries exist but emails stopped, SMTP is a prime suspect.
  • Ask whoever manages the mail account whether passwords, app passwords, 2FA or security settings changed recently.
  • Check the sending provider's dashboard for a disabled key, suspended account or unpaid plan.
Typical SMTP errors and what they usually mean
Error in logUsual meaning
535 Authentication failed / Username and Password not acceptedPassword changed, app password revoked or wrong username
invalid_grant / token expiredOAuth connection expired or access removed
534 / 530 Authentication requiredLogin not sent, or provider blocks this sign-in method
401 / 403 from an APIAPI key rotated, deleted or restricted
Could not connect to hostWrong host or port, or hosting blocks outgoing SMTP (a different issue)

How to fix it

Restore SMTP sending
  1. Find the error

    Read the mail log or the plugin's debug output so you know whether it is a password, token or key problem.

  2. Create fresh credentials

    In your mail provider, set a new password, generate a new app password, reconnect OAuth, or create a new API key. Use a dedicated sending account rather than a person's mailbox where you can.

  3. Update the site

    Paste the new credentials into the place your site stores them (see the platform tabs below).

  4. Send a test email

    Use the built-in test feature, then submit the real form once.

  5. Recover missed leads

    Open saved form entries or your CRM and follow up with anyone from the gap period. If entries were not saved, check your mail provider's sent logs for what did go out.

Where to update the credentials
  1. Open your SMTP plugin

    In plugins such as WP Mail SMTP, Post SMTP or FluentSMTP, open the settings page for your mailer.

  2. Re-enter or reconnect

    Paste the new password, app password or API key, or click the button to reconnect Google or Microsoft.

  3. Send a test

    Use the plugin's Email Test tab, then check its log for the result.

WordPress: log mail failures to the PHP error log (add to a small plugin or child theme)php
add_action( 'wp_mail_failed', function ( $error ) {
    error_log( 'wp_mail failed: ' . $error->get_error_message() );
} );

How to confirm it's fixed

Before and after

Broken

  • Form shows success
  • Mail log shows authentication errors
  • No notification in the inbox

Fixed

  • Plugin test email arrives
  • Real form submission produces a notification within minutes
  • Mail log shows successful sends

Submit the live form from a private browser window using a real address you can read. Confirm the email reaches every recipient, and that it is not in spam. Repeat for each form that uses the same SMTP account.

How to prevent it happening again

Prevention
  • Record which account and credential type each site uses, and when it expires.
  • Set a calendar reminder for any credential that has an expiry date.
  • Do not rotate passwords or keys without updating the site the same day.
  • Turn on error logging or failure alerts in your SMTP plugin where available.
  • Keep form entries saved in the site or CRM as a backup copy.
  • Test every lead form after changes to mail accounts, security settings or hosting.
  • Monitor the full journey, including the inbox, on a schedule.

How FunnelGuard handles this

FunnelGuard detects this today with its notification email check. A robot visitor fills in and submits your real lead form on a schedule, then checks whether the test lead actually reaches your inbox. If the form looks fine but the email never arrives, the check fails.

A failure is re-checked from a second region before one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. FunnelGuard sees that the email did not arrive; it does not read your SMTP logs, so confirm the exact credential error there. Test submissions are marked (utm_source=funnelguard, fg_test=1) so you can recognise and filter them. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.

How a silent SMTP failure unfolds
  1. Day 0

    Password or app password is changed or revoked.

  2. Day 0

    Next form submission: send fails, visitor still sees success.

  3. Days 1 to 14

    Leads keep arriving and nobody is notified (Example timing).

  4. Next scheduled check

    Notification email check fails and, after a second-region re-check, one alert is sent.

Questions people ask

Why did my website contact form stop sending emails?

A common cause is expired or revoked SMTP credentials. If the password, app password, token or API key your site uses to log in to the mail service stops working, sends are rejected. The form usually still shows a success message, so the failure goes unnoticed.

Why does my form say success but I get no email?

The form saved or accepted the submission, but the separate step of sending the notification failed. Check your mail log for authentication errors, spam folders, and whether the recipient address is correct.

How do I fix SMTP authentication failed on my website?

Generate new credentials in your mail provider, such as a new app password, a reconnected OAuth login or a new API key. Enter them in your SMTP plugin or site configuration, then send a test email and submit the real form.

Do SMTP passwords expire?

Some do not expire on their own but stop working when the password is changed, 2FA settings change or an app password is revoked. OAuth tokens and API keys can also expire, be rotated or be deleted. Treat any credential as something that can break.

How can I find out which leads I missed?

Check saved form entries in your form plugin or CRM for the period when emails stopped. Your mail provider's sent log shows what did go out. Compare the two lists and follow up with the rest.

How do I get alerted when form notification emails stop?

Submit your own test lead regularly and check it arrives. A monitoring service such as FunnelGuard automates this: it runs the form on a schedule and alerts you if the test lead does not reach the inbox.

Is a failed SMTP login the same as emails going to spam?

No. With a failed login the email is never sent, so it is in no folder. With spam the email is delivered but filtered. Check the mail log first to tell them apart.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: notification email check.

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.