Blog › SMTP and DNS

The five places a WordPress contact form fails silently (and which one your uptime monitor can't see)

Submit handler, entry store, wp_mail, the provider, and the recipient's filter. A field guide to each, with the log line that tells you which one you're looking at.

· 4 min read · The FormVigilant team

A contact form is not one thing. Between a visitor pressing Send and a person reading the enquiry, the message passes through five separate systems, owned by different people, each of which can fail without telling anyone. The page keeps loading, so an uptime monitor stays green. The form may even show "Thank you, your message has been sent." Nothing arrives.

Knowing which of the five you are dealing with turns "the form is broken" into a ten-minute fix.

1. The submit handler

The form plugin receives the POST, validates the fields and decides whether to accept it. This is where updates bite: a new version of the form plugin, the theme or a CAPTCHA add-on changes the JavaScript or the validation rules, and the submission never completes. Visitors see a spinner that never stops, or a validation error on a field that looks fine.

Evidence: reproduce it in a private browser window and open the browser console and network tab. A JavaScript error, a 400 from admin-ajax.php or the REST endpoint, or a validation message is your answer. In the PHP error log, look for a fatal error timestamped at the submission.

Typical causes: plugin or theme updates, a caching or minification plugin that combined scripts in the wrong order, a CAPTCHA key that expired, a new required field added in the form builder.

2. The entry store

Most form plugins save a copy of each submission in the database before sending email. Some do not: WPForms Lite does not store entries, and Contact Form 7 stores nothing without the Flamingo add-on. Stored entries prove the message reached the site even if the email did not.

Evidence: the entry list in wp-admin. If the submission is there but no email arrived, the problem is after this point. If it is not there, go back to step one, or check for an anti-spam plugin that discards submissions it dislikes without telling anyone.

3. wp_mail

The form plugin hands the notification to WordPress's wp_mail() function. Without an SMTP plugin, WordPress tries PHP's mail() and the host's local mail server, which many hosts throttle or block outright. With an SMTP plugin, wp_mail() passes the message to a provider over SMTP or an API.

wp_mail() returns true or false, and fires the wp_mail_failed action on failure. Most form plugins report success to the visitor as soon as it returns true. That only means WordPress handed the message on; it says nothing about delivery.

Evidence: the SMTP plugin's email log or debug events. WP Mail SMTP, FluentSMTP and Post SMTP all record failures with the underlying error. No SMTP plugin at all is itself a finding.

4. The provider

The email provider (Postmark, SendGrid, Mailgun, Amazon SES, Brevo, Google Workspace, Microsoft 365) accepts the message and then tries to deliver it. Failures here are the classic silent kind:

  • API keys or app passwords are rotated or revoked, and the provider rejects every message with an authentication error.
  • The account hits a sending quota or is suspended for a billing problem.
  • The recipient address bounced once, months ago, and the provider has added it to a suppression list. Every later message to it is dropped before sending, by design.

Evidence: the provider's activity or event log, searched by recipient and time. Look for "rejected", "bounced", "suppressed" or "dropped". The SMTP plugin's log often shows the provider's response code; 535 means authentication failed.

5. The recipient's filter

The message leaves the provider and reaches the client's mail server, which decides whether it is wanted. If the sending domain lacks SPF, DKIM or a DMARC record, or the From address is the visitor's own email (a common form default that breaks authentication), Gmail and Microsoft may junk the message or reject it outright. A Microsoft 365 tenant with strict quarantine policies can hold it where nobody looks.

Evidence: the full headers of a message that did arrive, specifically the Authentication-Results line, which shows spf=, dkim= and dmarc= results. For messages that did not arrive, the client's admin can search the quarantine or message trace.

Which one does an uptime monitor see?

None of them, directly. An HTTP check proves the page returned 200. A browser check that submits the form can catch failure one, if CAPTCHA allows it. Failures two to five happen after the page has already said thank you.

That is the reason FormVigilant reports a level rather than a green tick. A test that passes at L1 proves the handler works; L2 proves the entry was stored; L3 proves the provider accepted the message; L4 proves it reached an independent mailbox outside the site's pipeline; L5, optionally, proves it reached the client's own inbox or CRM. When a test fails, the level it stopped at tells you which of the five places to open first.

A short checklist for every client site

  • Install an SMTP plugin connected to a transactional provider, with logging on.
  • Send from an address on the site's own domain; put the visitor in Reply-To.
  • Confirm SPF, DKIM and DMARC for that domain, and write down where the DKIM record lives.
  • Keep entry storage on where the plugin supports it.
  • Test the form after every plugin update, or have something test it for you every day.

Find out which of your clients' forms are delivering today.