+8801928835756
Back to Blog
WordPress Development 5 min read 23 views

WordPress Email Not Sending? Causes and Fixes

IM

Ibrahim Monir

Full-Stack Developer

Jul 9, 2026
WordPress Email Not Sending? Causes and Fixes

Why WordPress emails fail to send or land in spam — the unreliable PHP mail() default — and how to fix it for good with an SMTP plugin, a reputable mail provider, a real from-address, and SPF/DKIM/DMARC. Includes a troubleshooting checklist and FAQ.

WordPress email is usually not sending for one core reason: by default, WordPress sends mail using the server's PHP mail() function, which most hosts either block or fail to authenticate — so the messages get rejected or dumped into spam. The reliable fix is to send email through a proper SMTP service using an SMTP plugin. This guide explains why it happens and how to fix it for good.

Contact form submissions that never arrive, WooCommerce order emails that don't reach customers, password resets that go missing — a WordPress site that can't send email is a serious problem. The good news: it's almost always fixable in under 15 minutes.

Why WordPress emails aren't sending

WordPress relies on the PHP mail() function to send email by default. This approach fails constantly because:

  • Many hosts disable mail() to prevent spam abuse.
  • Emails fail authentication. Without proper SPF, DKIM, and DMARC records, mail providers reject or spam-folder messages that claim to come from your domain.
  • The "from" address looks fake. WordPress often sends from wordpress@yourdomain.com, which may not be a real, authorized mailbox.
  • No encryption or reputation. Server mail lacks the trust signals that inboxes like Gmail and Outlook require.

The result is that emails are either never sent, silently rejected, or delivered straight to spam.

The real fix: send email via SMTP

SMTP (Simple Mail Transfer Protocol) is the standard, authenticated way to send email. Instead of relying on the server's mail() function, you route WordPress email through a real mail service that's built to land in the inbox.

How to set it up:

  • Install a free SMTP plugin such as WP Mail SMTP, FluentSMTP, or Post SMTP.
  • Choose a mail provider — Brevo (Sendinblue), SendGrid, Mailgun, Amazon SES, Gmail/Google Workspace, or Microsoft 365 all work well.
  • Connect the plugin to the provider using its API key or SMTP credentials.
  • Set a real "from" email on your domain (e.g. hello@yourdomain.com) that matches the sending service.
  • Send a test email from the plugin to confirm delivery.

This single change fixes the majority of "WordPress not sending email" problems permanently.

Step-by-step troubleshooting checklist

1. Confirm the email is actually failing

Install an SMTP plugin (they include a test-email tool) or a logging plugin like WP Mail Logging. Send a test to confirm whether mail leaves the site at all, and check the log for errors.

2. Check the spam folder and the "from" address

Before assuming email isn't sending, check spam. If it's landing there, the fix is authentication (below) and a proper from-address on your own domain — not a Gmail/Yahoo address, which providers now block for domain mismatch.

3. Set up SMTP with a mail provider

As described above, this is the main fix. Free tiers (Brevo, SendGrid, Mailgun) send thousands of emails per month at no cost — plenty for most sites.

4. Add SPF, DKIM, and DMARC DNS records

These DNS records prove your domain is authorized to send email, which keeps you out of spam:

  • SPF — lists the servers allowed to send mail for your domain.
  • DKIM — cryptographically signs your emails so they can't be forged.
  • DMARC — tells inboxes what to do with mail that fails the above checks.

Your SMTP provider gives you the exact records to add at your DNS/registrar.

5. Test WooCommerce and contact form emails specifically

Place a test order and submit your contact form. If site mail works but a plugin's emails don't, check that plugin's own email settings and confirm it uses the site's default mailer (now SMTP).

6. Rule out plugin conflicts and caching

Occasionally a security or optimization plugin blocks outgoing mail. Temporarily deactivate recently added plugins and retest. Clear caches so you're not testing an old configuration.

Common causes at a glance

  • Host disabled mail() → switch to SMTP.
  • Missing SPF/DKIM/DMARC → add the DNS records your provider supplies.
  • Fake or mismatched "from" address → use a real mailbox on your domain.
  • Emails going to spam → authenticate the domain and warm up a reputable provider.
  • Plugin blocking mail → deactivate and retest to isolate it.

Frequently asked questions

Why is my WordPress contact form not sending emails?

Almost always because WordPress is using the server's PHP mail() function, which hosts block or providers reject. Install an SMTP plugin like WP Mail SMTP, connect a mail service, and send a test email — this fixes most contact form delivery issues.

Do I need an SMTP plugin for WordPress?

Yes, in practice. An SMTP plugin routes your email through an authenticated mail service instead of the unreliable server mail() function, dramatically improving deliverability and keeping messages out of spam. It's the single most effective fix.

Why are my WordPress emails going to spam?

Because your domain isn't properly authenticated or you're sending from a mismatched address. Set up SMTP with a reputable provider, use a real from-address on your own domain, and add SPF, DKIM, and DMARC DNS records so inboxes trust your mail.

Is WP Mail SMTP free?

Yes. WP Mail SMTP has a free version that covers the essential SMTP setup for most sites, and it works with free mail-provider tiers like Brevo, SendGrid, and Mailgun. Paid versions add features like detailed logging and priority support.

Final thoughts

When WordPress email isn't sending, don't fight the default mail system — replace it. Install an SMTP plugin, connect a reputable mail provider, use a real from-address, and authenticate your domain with SPF, DKIM, and DMARC. That combination turns unreliable, spam-prone WordPress mail into email that actually reaches the inbox — for contact forms, WooCommerce orders, password resets, and everything else your site sends.

More from WordPress Development

Related Posts