ModelGain Email Failure Monitor – Failed Email Log & Site Health Check

By ModelGain.com

0+ active installationsVersion 1.0.1

See when WordPress fails to send email. Failed wp_mail() log, 24h/7d counts, test email and a Site Health check. Works with SMTP plugins.

Description

When the SMTP password changes, an API key expires or the host blocks PHP mail, WordPress stops sending password resets, order emails and form notifications. Nothing on screen tells you. Customers tell you, days later.

Email Failure Monitor watches every wp_mail() attempt through the WordPress core wp_mail_succeeded and wp_mail_failed hooks and shows you, on one screen:

  • Observed failures and successes for the last 24 hours and the last 7 days.
  • The last 50 failures with time, recipient domain and the mailer’s error message (for example “SMTP Error: Could not authenticate”).
  • Last successful send and last failure times.
  • Send a test email to any address and see the exact error if it fails.
  • Site Health check: “WordPress email is failing to send” appears in Tools → Site Health when the most recent attempt failed.
  • Coverage check: tells you if another plugin replaces wp_mail() or short-circuits it, so you know what the monitor can and cannot see.

It is a monitor, not a mail logger. It does not replace your SMTP plugin and does not send mail itself. Keep using WP Mail SMTP, Easy WP SMTP, Post SMTP, FluentSMTP or plain PHP mail.

Privacy first

  • No subjects, message bodies, headers, attachments or full email addresses are stored. Only the recipient domain (for example gmail.com) and a redacted error message.
  • Data is kept in one non-autoloaded option, capped at 50 failures and 7 days of hourly counters.
  • No external requests, no tracking, no account.

What a “successful send” means

Success means your mail server or API accepted the message. Bounces and spam-folder placement happen later and are not visible to WordPress. The plugin says “observed sends”, never “delivered”.

Optional Pro add-on

When email is broken, an email alert is useless. The separate Email Failure Monitor Pro (product page) add-on sends an alert to Slack, Discord or any webhook as soon as wp_mail() fails, at most once per incident window, and a recovery notice when mail sends again. This free plugin keeps every feature listed above, with or without Pro.

Installation

  1. Install and activate the plugin.
  2. Open Tools → Email Failure Monitor.
  3. Click Send test email to confirm the site can send right now.

FAQ

Does it work with my SMTP plugin?

Yes for any plugin that uses the core wp_mail() function, such as WP Mail SMTP and Easy WP SMTP. If a plugin replaces wp_mail() entirely, the Coverage section names it; failures are recorded only if that plugin fires the standard wp_mail_failed hook. Use the test email to confirm.

Does it store my emails?

No. It stores counts, time, recipient domain and a redacted error message. Use a mail logging plugin if you need full copies of sent emails.

Will it slow my site down?

No. It does nothing on normal page views. It writes one small option only when an email is sent.

What happens on uninstall?

Deleting the plugin removes its option and the per-user “hide Pro card” flag.

Screenshots

Changelog

1.0.1

  • Clearer plugin name in the directory and a link to the product page. No functional changes.

1.0.0

  • First release: observed wp_mail() success and failure counts (24h / 7 days), last 50 sanitised failures, test email, coverage check and Site Health test.