Why are my WordPress emails not being delivered?

WordPress email fails for four distinct reasons, and the fixes are different for each. Before installing a plugin or changing a setting, sort which failure mode you’re in. The diagnostic below takes about five minutes and rules out three of the four causes so you know which one to fix.

The four causes, in the order they should be ruled out:

  1. wp_mail() cannot send at all. PHP’s mail() function has no working route off the host, no SMTP plugin is configured, and mail leaves WordPress with nowhere to go.
  2. Mail sends but authenticates against the wrong domain. The SMTP plugin is configured, but neither SPF nor DKIM aligns with the From: domain, so DMARC fails. The receiving server’s response depends on the domain’s DMARC policy and the receiver’s handling; Google’s sender guidelines apply to personal Gmail accounts, not Google Workspace accounts.
  3. Mail sends and authenticates but goes to Junk at Microsoft 365 or Yahoo. The sending IP or domain has poor reputation, or the message has content-based spam signals.
  4. Mail sends to some recipients but not others. A WooCommerce, contact form, or membership plugin is overriding the From: header per-message, and only some code paths are affected.

Step 1: install a logging plugin and confirm what’s happening

Install Check & Log Email (2.0.18 or later) before touching any other setting. It hooks into wp_mail() and records every call: the timestamp, the To: address, the subject, the headers the sending code passed and a status. Its From: column shows the address the sending code passed, and is blank when the code set none, so it is not always the address that went out. The status starts as sent and changes to failed only if WordPress reports a failure. Log Emails records the From: address on the message as WordPress built it, but keeps no status, so it cannot answer this step on its own.

Trigger a password reset for a test account from /wp-login.php?action=lostpassword and check the log:

  • No log entry. The reset did not reach wp_mail(), or the log missed the call. A security plugin limiting password resets is one cause (Wordfence counts reset requests per IP and locks the IP out at its limit); a plugin can also stop the reset email without showing an error. Test with a different sender (a contact form submission, a Users > Add New confirmation email): if that is logged, the problem is specific to the reset.
  • Log entry marked failed. wp_mail() reported a failure, and the entry holds the error message. It says whether the send stopped before the mailer, on an invalid From address for example, or in the send itself. A send error puts you in cause 1 (default mail() unreachable) or a credential/host mismatch in an installed SMTP plugin.
  • Log entry still marked sent, but no email arrives. No failure was reported. In the usual case WordPress handed the message off cleanly and the mailer accepted it. You’re in cause 2, 3, or 4.

wp_mail() returns true when the mailer accepts the handoff, not when the mail is delivered. Without a logging plugin, a successful handoff and a delivery failure look identical from the WordPress side. Install one first; it removes the ambiguity.

Cause 1: wp_mail() cannot send at all

The most common failure on a fresh WordPress install. Where mail() has no reliable route out, mail goes missing: Cloudways ships no relay, calls the PHP mail path very unreliable, and says cloud providers such as Vultr and Google block outgoing port 25 by default. Managed hosts are a different case. Kinsta and WP Engine document MailChannels for WordPress mail, and neither documents it as DMARC-aligned to your domain, which turns into cause 2 once the domain enforces DMARC. Shared-host providers publish outgoing-email limits: GoDaddy lists 500 messages per hour for all users on a cPanel Web Hosting account, with a separate 500-per-day limit per email user, and Bluehost lists 200 per hour per hosted domain. Those pages do not say whether the limits apply to PHP mail(). Whether mail sent through mail() carries DKIM for the domain depends on the host. cPanel’s stock setting turns DKIM on for each new account’s domains, but neither GoDaddy nor Bluehost documents whether its shared plans keep that default. DreamHost, which runs its own panel, says mail sent with PHP mail is not DKIM-signed. A password reset sent to an outside address shows whether your site’s mail is signed: look for a DKIM-Signature header whose d= is your domain. In each case, WordPress calls wp_mail(), PHPMailer calls PHP’s mail(), and the message either fails immediately or, on hosts that do not sign it for the site’s domain (Kinsta, WP Engine, and DreamHost among them), leaves without authentication that matches the From address and risks rejection downstream.

The fix: an SMTP plugin paired with a transactional email provider. FluentSMTP free tier plus SMTP2GO free tier (1,000 messages per month) covers a small site with zero recurring cost. See What is the best way to set up email on WordPress? for the full setup.

Cause 2: mail authenticates against the wrong domain

This is the failure mode that produces “WooCommerce emails arrive, but password resets go to spam” and “some emails arrive at Gmail, others don’t.” The site has an SMTP plugin configured and the message leaves WordPress successfully, but the From: address doesn’t align with the DNS records the plugin’s provider published.

WordPress’s default From: header is constructed as wordpress@<network_home_url minus scheme minus www>. On a site whose home URL is https://store.example.com, the default becomes [email protected] (a subdomain). DMARC compares that domain with the domain SPF or DKIM authenticated, and the domain owner sets how strict the comparison is in the DMARC record. Under the default, relaxed alignment, a valid DKIM signature for example.com aligns with [email protected]. The check fails when neither SPF nor DKIM aligns: the provider authenticates the mail only for its own domain, for example, or the record sets strict alignment (adkim=s; aspf=s) and the mail authenticates for example.com rather than store.example.com. The receiver’s own policy then decides where the message goes.

The fix: set an explicit From: address on the organisational domain ([email protected], [email protected]) in the SMTP plugin. Enable “Force From Email” if the plugin shows it, so that WooCommerce, membership plugins, and contact form plugins can’t override it per-message. FluentSMTP offers the setting for SMTP, Amazon SES, toSend and PHP mail() connections; a newly set up connection of any other type, its SMTP2GO connection included, applies its From Email without it. Cause 4 covers the addresses FluentSMTP keeps. See Users not receiving password reset emails in WordPress for the specific case where this fails and the exact fix, and Change WordPress’s default email sender details for the mechanical setup.

Cause 3: authenticated mail lands in Junk

The mail authenticates, arrives, and lands in the recipient’s spam folder rather than the inbox. Two subcauses:

Provider IP reputation. If you’re on a shared-IP tier of a transactional provider, the IP’s reputation depends on every other sender using it. Reputable providers (Postmark, SMTP2GO) actively kick low-reputation senders off shared IPs; less reputable providers (Sendinblue’s early free tier, cheap bulk relays) leave the pool contaminated. If mail is authenticating cleanly but landing in Junk consistently, a mail-tester.com test lists other deductions from the message. A score below 8/10 with all authentication passing does not by itself point at the sending IP: on 2026-12-03, a WordPress 7.1.5 wp_mail() message sent through WP Mail SMTP 4.10.5 and the Brevo API scored 7.9/10, with no blocklist hit and deductions for HTML-related SpamAssassin rules and a body warning.

Content signals. Aggressive marketing language, all-caps subject lines, unusual link ratios, missing plain-text version, or an unsubscribe link that violates List-Unsubscribe conventions. Transactional mail (password resets, order confirmations) rarely hits content-based spam filters. Newsletter-style mail regularly does; see WordPress email test suite for the checks that surface content issues before you send.

Cause 4: mail sends to some recipients but not others

WooCommerce, membership plugins, and contact form plugins can each set their own From: on a message. WooCommerce has a “From” address at WooCommerce > Settings > Emails, and while it sends one of its own emails, password resets included, it applies that address through the wp_mail_from filter at the default priority, 10. Whether the address survives is up to the SMTP plugin:

  • WP Mail SMTP. With “Force From Email” on, its own wp_mail_from filter runs at the last priority (PHP_INT_MAX) and returns its From Email, so WooCommerce’s address does not go out. With it off, WooCommerce’s address goes out.
  • Post SMTP. With “Prevent plugins and themes from changing this” on, it puts its own address in place after the filters have run. With it off, WooCommerce’s address goes out.
  • FluentSMTP. It keeps a WooCommerce address that belongs to one of its connections, even with “Force From Email” on, and sends through that connection. Any other address goes to the default connection, where it is replaced unless that connection has “Force From Email” off. A newly set up connection of a type without the checkbox always replaces it.

Run on 2026-11-25 with WooCommerce 11.3.1’s customer reset email, WP Mail SMTP 4.10.5, Post SMTP 4.0.4 and FluentSMTP 2.4.5 each behaved this way. The run checked the From that each plugin built, on PHP mail connections in WP Mail SMTP and FluentSMTP, and on API connections in Post SMTP (SendGrid) and FluentSMTP (SendGrid and SMTP2GO); nothing was delivered.

The diagnostic: check the log entries for the specific message type that’s failing. If the From: address on the failing message is different from the From: on messages that succeed, something is setting it per-message. Look for a force setting that is off, a FluentSMTP connection that owns the address, or code that changes the From after the SMTP plugin or sends without wp_mail(). Then turn the force setting on, or change the address in the plugin that sets it.

See Form not sending mail to Gmail (but sending to Office 365) for a specific instance of this: mail arrives at Microsoft 365 but never shows up at a Google Workspace mailbox, where the admin’s settings decide what happens to it.

Check the From address when delivery fails

If the site has SPF and DKIM published and still has delivery problems, check whether the message’s From address aligns with the domain authenticated by those records. Set an explicit From address on that domain in the SMTP plugin. Enable “Force From Email” if the plugin offers it. This can correct a From-domain mismatch; it does not fix an SPF record that fails to authorize the sending IP, a message that lands in Junk, or other plugin-specific problems. Use the diagnostic above to identify those cases.

For the deeper walk-through: Troubleshoot WordPress email. If the site sends more than a few thousand messages a day to personal Gmail addresses, Gmail and Yahoo bulk-sender rules for WordPress is the umbrella check for which requirements apply; the SPF, DKIM, and DMARC checklist and where the List-Unsubscribe header comes from cover the two halves of the newer bulk-sender requirement in depth.

Corrections
  • 2026-11-26: an earlier version said Limit Login Attempts Reloaded and Solid Security throttle password reset requests. Neither counts reset requests.
  • 2026-10-29: earlier versions said PHP mail() is disabled by security policy on Kinsta, WP Engine, Flywheel and Pressable, and listed SiteGround among hosts that publish no SPF or DKIM for the customer. The four managed hosts route mail() through a relay of their own, and SiteGround publishes SPF and DKIM automatically for domains whose DNS it runs.
  • 2026-11-23: an earlier version said mail from shared hosts such as GoDaddy and Bluehost often leaves without DKIM for the domain, and counted most shared hosts among those that do not sign it. cPanel turns DKIM on for new accounts by default, GoDaddy and Bluehost do not document their default, and DreamHost documents that PHP mail is not signed. The summary also said mail() is disabled on shared hosts; they throttle it rather than disable it.
  • 2026-11-25: an earlier version said WooCommerce’s From address takes precedence over an SMTP plugin’s “Force From Email.” With the setting on, WP Mail SMTP replaces WooCommerce’s address, and so does Post SMTP with its equivalent. FluentSMTP keeps the address only if it belongs to one of its connections. The page also told every reader to enable the setting; FluentSMTP offers it only for SMTP, Amazon SES, toSend and PHP mail() connections. It also said setting the From address fixes more deliverability failures than any other setting. That ranking had no data behind it.
  • 2026-11-25: an earlier version said Gmail treats every message whose From address does not align as spam or rejects it outright, and that unauthenticated mail is rejected outright at Gmail. Google says mail with neither SPF nor DKIM to personal Gmail accounts might be marked as spam or rejected; at Google Workspace accounts the admin’s settings decide. The summary also said Gmail treats unauthenticated From addresses as spam.
  • 2026-11-26: an earlier version said Kinsta, WP Engine, Flywheel and Pressable route mail() through relays of their own, as the 2026-10-29 note above also said. Kinsta and WP Engine document MailChannels for WordPress mail; Flywheel says it uses SendGrid to authenticate website email and a third-party managed SMTP provider for WordPress system email; Pressable describes its default as a built-in email server. The 2026-11-23 note above said shared hosts throttle mail(). GoDaddy and Bluehost publish outgoing-email limits, but do not say whether those quotas apply to PHP mail(); cPanel’s “Max hourly emails per domain” setting defaults to Unlimited.
  • 2026-11-26: an earlier version said that no log entry means wp_mail() was never called and a security plugin is throttling password resets, and that a failed entry means cause 1 or a credential mismatch. No entry can also mean a plugin stopped the reset email or the log missed the call, and a failure can come before the send, for example on an invalid From address.
  • 2026-11-26: an earlier version said Check & Log Email and Log Emails both log the From address and whether the mailer returned success or failure. Log Emails keeps no status. Check & Log Email logs the From the sending code passed, and marks an entry failed only if WordPress reports a failure.
  • 2026-11-26: an earlier version said, without a source, that whether SPF and DKIM for the parent domain cover a subdomain From address depends on how strictly each mailbox provider enforces DMARC alignment, and that Microsoft 365 treats unexpected-subdomain From addresses as suspicious. The domain owner sets the alignment mode in the DMARC record.
  • 2026-12-03: an earlier version said mail-tester.com gives a sender score and that a score below 8/10 with all authentication passing usually points at IP reputation. Mail-tester scores the message; a WordPress 7.1.5 wp_mail() message sent through WP Mail SMTP 4.10.5 and the Brevo API on 2026-12-03 passed SPF, DKIM and DMARC, was not blocklisted, and scored 7.9/10 after HTML-related SpamAssassin deductions and a body warning.