nanoPost Email Check

nanoPost Email Check is a free WordPress plugin that tells you when your site has stopped being able to send email. It sends a test email on a schedule, logs every result, and puts a warning in wp-admin when a check fails or when the checks stop running. nanoPost makes the plugin.

A site can lose its email without any sign on the front end. A host switches off PHP’s mail(), an SMTP password is changed, an API key is revoked, a plugin update resets the mailer settings. The pages still load. The first report is usually a customer asking where their order confirmation went, or a password reset that never arrived. A check that runs every day finds the break on the day it happens.

What it checks

Each check calls wp_mail(), the function WordPress core and well-behaved plugins use to send mail, with a short test message to one address. The plugin records whether wp_mail() accepted the message. When it did not, the plugin also records the error text WordPress reported through the wp_mail_failed hook, which is usually PHPMailer’s own message, such as SMTP Error: Could not authenticate.

What a pass means

A pass means the mail system WordPress uses accepted the test message. That is the hand-off: the point where WordPress’s part ends. It does not prove the message reached an inbox. After the hand-off the message can still bounce, be dropped by the relay, or be filed as spam, and nothing inside WordPress sees any of that.

Two setups make a pass mean less than it looks:

  • A plugin that switches mail off. Disable Emails, common on staging sites, replaces wp_mail() with a version that returns success and sends nothing. Every check passes.
  • A queue plugin. Mail Queue stores the message and reports success at once; the real send happens later on a schedule. The check passes when the message enters the queue, not when it leaves.

To confirm delivery itself, read the test message in the recipient mailbox. Check that WordPress can send emails walks through each layer, from wp_mail() to the server log.

When a check fails

Administrators (users who can manage_options) see a notice in wp-admin until the next check passes, or until they dismiss it. Dismissing is per user and per problem: a new failure brings the notice back. The plugin screen, under Tools > Email Check, shows the current status and the log, with a help link chosen by the result:

If you set a webhook, the plugin also posts the failure to Slack, Google Chat, or any other service that accepts a webhook. An email alert cannot reach you when email is what broke; webhook alerts cover the setup.

When the checks stop

If the last check is older than twice the schedule interval (48 hours on the daily schedule), the plugin shows the same notice. The checks are not failing: they are not running. The schedule runs on WP-Cron, and WP-Cron has stopped running it. When the checks stop covers why that happens and how to replace WP-Cron with a real cron job.

Settings

  • Recipient. One address. The default is the site’s Administration Email Address (Settings > General). Use a mailbox someone reads, on a different provider from the site if you can.
  • Schedule. Twice daily, daily (the default) or weekly.
  • Send test now. Runs a check at once. The log marks it as manual.
  • Webhook URL. Optional. Leave it empty and the plugin makes no outside requests.

The log

The plugin keeps the last 30 results: the time, what started the check (the schedule or the Send test now button), pass or fail, the recipient, and the error text. Uninstalling the plugin deletes the log, the settings, the webhook state, every user’s dismissed notices and the scheduled event, on every site of a multisite network.

What the plugin sends where

The plugin sends nothing to nanoPost. The help links are plain links that open in your browser. The error link puts the error text after the # in the address; browsers do not send that part of an address to the server, and the decoder page reads it in your browser. The webhook sends only to the URL you enter.

nanoPost also reviews plugins in this category. Email Check is not ranked in those reviews or roundups.

Requirements

WordPress 6.4 or later and PHP 7.4 or later. The plugin is licensed GPLv2 or later, and the source is on GitHub.

Help pages