How to Fix WordPress Not Sending Emails: A Beginner’s Guide

  • Post last modified:Last updated on December 4, 2026
  • Post author:By

You reset your password, and the reset email never arrives. A customer fills in your contact form, and you never hear about it. A new user registers, and the welcome email vanishes. WordPress says everything was sent, but nothing ever lands.

This is one of the most common WordPress problems, and it is also one of the most fixable. WordPress does not really send email the way Gmail or Outlook does. By default it hands messages to your web server and hopes for the best, and most servers are not set up to deliver mail reliably. The fix is to send your mail through a proper authenticated mail service instead. It takes about 30 minutes, the plugin is free, and one of the best mail services costs nothing for a small site. This guide shows you how to fix WordPress not sending emails, step by step.

The quick answer

WordPress sends email with the PHP mail() function by default, which most hosts do not configure properly and most inbox providers do not trust. Install the free WP Mail SMTP plugin, connect it to a real mail service (Brevo is free for 300 emails a day), add SPF and DKIM records to your domain, then send a test email. That fixes the problem for almost every site. If mail still does not arrive after that, check your spam folder, your admin email address, and whether your contact form notifications are turned on.

Why WordPress is not sending emails

Every email WordPress sends, password resets, new user notifications, comment alerts, contact form messages, WooCommerce order emails, goes through a function called wp_mail(). By default, wp_mail() uses your server's PHP mail() function. That means your web server tries to deliver the message itself, with no login, no authentication, and no reputation behind it.

That causes three problems.

First, many hosts do not run a mail server at all, or they block the PHP mail() function. Shared hosting in particular often disables it to stop spam. In that case WordPress reports the email as sent, because it handed the message off successfully, but the server quietly drops it. Nothing arrives, and nothing tells you why.

Second, even when the server does send the message, inbox providers such as Gmail, Outlook, and Yahoo treat unauthenticated mail with suspicion. A message that arrives with no proof it came from your domain looks exactly like spam or phishing. Gmail has required SPF or DKIM authentication from senders since February 1, 2024, and unauthenticated messages may be marked as spam or rejected outright.

Third, your site probably shares a server IP address with hundreds of other sites. If any of them sent spam, the whole IP can land on a blocklist, and your mail gets rejected along with theirs. You did nothing wrong, but your emails still do not arrive.

The fix for all three problems is the same: stop letting the server send mail on its own, and route it through an authenticated mail service instead. That is what SMTP does.

Before you fix anything: diagnose first

Do not skip this part. Five minutes of checking now can save you from fixing the wrong thing.

Send a test email. Install the free Check Email plugin or use the test tool inside WP Mail SMTP once it is installed. Send a message to an address you control, then check the inbox and the spam folder. If the test email arrives, your site can send mail, and the problem is probably a specific plugin or notification setting. If it never arrives, the sending itself is broken, and the SMTP fix below is the answer.

Check the spam folder. This sounds obvious, but it is the cause more often than anyone admits. Search your spam and junk folders for the missing message, and check any email filters that might be moving it.

Check your admin email address. Go to Settings, then General, and look at the Administration Email Address field. WordPress sends its notifications there. If it still shows your host's default address, or an old address you no longer check, change it to an address you actually read, and confirm the change when WordPress sends the verification email to the new address.

Check that notifications are turned on. This is the most common cause of "my contact form never emails me." Open your form plugin's notification settings and confirm the "Send To" address is correct and notifications are enabled. Many form plugins also have a setting to send from a specific address, and if that address is not on your domain, some hosts block it. The same applies to WooCommerce: check WooCommerce, then Settings, then Emails, and confirm the order emails are enabled and going to the right address.

Check whether only some emails fail. If password resets arrive but contact form messages do not, the mail system works and the form plugin is the problem. If nothing arrives at all, the mail system is the problem. That distinction tells you where to spend your time.

SymptomMost likely causeStart here
Nothing arrives at allPHP mail() blocked or unauthenticatedFix 1: SMTP setup
Mail arrives in spamMissing SPF, DKIM, or DMARC recordsFix 4: DNS records
Password resets arrive, form messages do notForm notification settingsDiagnose: notifications
Mail arrives sometimes, then stopsShared IP blocklisted, or you hit a sending limitFix 2: pick a mail service
Order emails missing on a shopWooCommerce email settings or a plugin conflictDiagnose: WooCommerce emails

Fix 1: Install the free WP Mail SMTP plugin

WP Mail SMTP is the standard tool for this job, and installing it is the first step in how to fix WordPress not sending emails. It is made by the WPForms team, it is free on WordPress.org, and it is active on millions of sites. It takes over the wp_mail() function and sends your mail through a real mail service instead of PHP mail(). You do not need the paid version for the fix in this guide.

  1. In your WordPress dashboard, go to Plugins, then Add New Plugin.
  2. Search for "WP Mail SMTP" and install the plugin by WPForms, then activate it.
  3. The setup wizard starts automatically. If it does not, go to WP Mail SMTP, then Settings.
  4. On the first screen, enter the From Email and From Name you want your site's mail to use. Use an address on your own domain, such as wordpress@yourdomain.com, not a Gmail or Yahoo address. Mail from a free address is more likely to be flagged as spam.
  5. Tick "Force From Email" and "Force From Name" so other plugins cannot override these with their own addresses.
  6. Click Save and continue to choose a mail service.

Do not install a second SMTP plugin at the same time. Two plugins fighting over wp_mail() will overwrite each other's settings and produce confusing errors. Pick one and stick with it.

If you want a completely free plugin with email logging included, FluentSMTP is a good alternative. It does the same job, and its email log is free, while WP Mail SMTP keeps logging behind the Pro license. This guide uses WP Mail SMTP because it has the simplest setup wizard and the widest choice of mail services, but either one works.

Fix 2: Pick a mail service

WP Mail SMTP is the connector, not the mail service. You still need a service to actually send the mail. The wizard offers a list of mailers. Here is how the realistic choices compare for a beginner site.

Mail serviceFree allowancePaid plans fromBest for
Brevo300 emails a day, free forever$9 a monthSmall sites that want a real free plan
SendLayer200-email free trial, no permanent free plan$5 a month, billed annually, for 1,000 emailsThe simplest setup, built for WordPress
Gmail / Google WorkspaceFree with a Gmail or Workspace accountFreeVery low volume, personal sites
Your host's emailIncluded with most hosting plansIncludedThe quickest start, if your host offers it
SMTP.com30-day trial with 50,000 emails$25 a month for 50,000 emailsHigh-volume senders

For most beginners, Brevo is the right pick. It is free for 300 emails a day, which covers password resets, form notifications, and order emails for a small site many times over, and it stays free. SendLayer is the easiest setup in the wizard, with a Quick Connect flow that skips most of the DNS work, but it has no permanent free plan: after the 200-email trial it costs $5 a month billed annually. Note that SendLayer and WP Mail SMTP are owned by the same company, which is why the plugin recommends it first. It is a good service, but the recommendation is not independent, so weigh it against Brevo's free plan.

Gmail works if you send very little mail, but it needs a 16-digit app password, and app passwords only work once 2-Step Verification is turned on. Do not use your regular Gmail password. Google Workspace accounts use the same setup.

Your host's own email is the fastest option if your host provides mailboxes, but it shares the same reputation problem as PHP mail() if the host's IP is blocklisted, so it is a backup rather than a first choice.

WP Mail SMTP Pro costs $49 for the first year and renews at $99 a year for one site. It adds an email log, reports, open and click tracking, and backup connections. You do not need it to fix the problem. The Pro-only mailers are Amazon SES, Microsoft 365, and Zoho Mail, so if you use one of those, you either need Pro or a different plugin such as FluentSMTP.

Fix 3: Connect Brevo and send your first test email

This is the full walkthrough for the free Brevo setup, and it is the core of how to fix WordPress not sending emails for good. The steps for SendLayer or another mailer are similar, and the wizard guides you through each one.

  1. In the WP Mail SMTP wizard, choose Brevo as your mailer.
  2. Open a new tab and create a free Brevo account at brevo.com. Confirm your email address and complete the short account setup.
  3. In Brevo, go to Settings, then SMTP and API, and create a new API key. Copy it. Treat it like a password: do not share it or paste it into a post.
  4. Back in the WP Mail SMTP wizard, paste the API key into the Brevo field.
  5. Set your sending domain. Brevo will show you DNS records to add to your domain, usually SPF and DKIM records. Add them in your domain registrar or hosting DNS panel, then click "Authenticate" or "Verify" in Brevo. DNS changes can take a few minutes to a few hours to take effect, so if verification fails, wait and try again.
  6. Finish the wizard and save the settings.
  7. Go to WP Mail SMTP, then Tools, then Email Test. Send a test email to an address you control.
  8. Check the inbox and the spam folder. If the test arrives in the inbox, you are done. If it lands in spam, continue to Fix 4. If it never arrives, check the error message in the test tool: it usually names the problem, such as a wrong API key or an unverified domain.

Once the test passes, send a real test through the thing that was broken. Submit your own contact form, request a password reset, or place a test order. A plugin test proves the connection works, but only a real form submission proves the notification is configured correctly. If you run a shop, see our guide to how to speed up WordPress and check that your order emails are enabled in WooCommerce, then Settings, then Emails.

Fix 4: Add SPF, DKIM, and DMARC records

SMTP gets your mail sent. These three DNS records get it believed. Without them, even mail sent through a good service can land in spam, because the receiving server has no way to verify that your domain really authorized the sender.

RecordWhat it doesWhy it matters
SPFLists the servers allowed to send mail for your domainWithout it, anyone could send mail pretending to be you
DKIMAdds a cryptographic signature to each messageProves the message was not altered in transit
DMARCTells receivers what to do with mail that fails SPF or DKIMStops spoofed mail from reaching inboxes at all

Your mail service gives you the exact records to add. In Brevo, they appear during domain setup. In SendLayer, the Quick Connect flow can add them for you, or you can add them manually. You add them in the same place you manage your domain's DNS: your domain registrar, such as Namecheap or GoDaddy, or your hosting control panel, if your DNS lives there.

Three things to get right:

  • Add the records to the same DNS zone your domain actually uses. If your domain points at Cloudflare, add them in Cloudflare, not at your registrar.
  • SPF is a single TXT record per domain. If you already have one, add your mail service to the existing record instead of creating a second one. Two SPF records break SPF.
  • After adding the records, wait. DNS changes usually take effect within an hour, but they can take up to 48 hours. Use a free checker such as MXToolbox to confirm the records are visible before you conclude they are wrong.

If your site sends mail to Gmail addresses, this step is not optional. Google's sender guidelines require SPF or DKIM from every sender, and unauthenticated mail may be marked as spam or rejected.

Fix 5: Turn on email logging so you can see what happened

The hardest part of this problem is that WordPress reports mail as sent even when it never arrives. An email log removes the guesswork: it records every message your site tried to send, whether it succeeded, and the error if it failed.

WP Mail SMTP Pro includes a log, but the free version does not. If you stay on the free version, switch to FluentSMTP and use its free email log instead. Do not run two SMTP plugins at once: pick the one that will own your mail, and use that one's log.

Once logging is on, the next time an email goes missing you can open the log and see one of three things: the message was sent successfully, which means the problem is at the receiving end, usually spam or a filter; the message failed with an error, which names the cause; or the message is not in the log at all, which means the plugin or form that was supposed to send it never called wp_mail(), and the problem is in that plugin's settings.

Check the log once a week for the first month. It takes a minute, and it catches problems while they are still small, such as a form notification that silently broke after a plugin update.

Fix 6: If mail still does not arrive

Work through this checklist in order. If you followed the steps above and still need to know how to fix WordPress not sending emails on your site, most stubborn cases are one of these.

The From address is wrong. The From address must be on your own domain and must match the domain you verified with your mail service. Sending from a Gmail address through Brevo, or from an unverified domain, is the single most common cause of a test that fails after setup. Set the From Email to an address on your domain, tick "Force From Email," and test again.

A plugin is overriding your settings. Some contact form and e-commerce plugins set their own From address or their own mail method. If your test email works but form messages do not, open the form plugin's settings and set its From address to the same domain address. Also check for a second SMTP or mail plugin you forgot about, and deactivate it.

Your host blocks the SMTP port. Some hosts block outgoing connections on port 25, and a few restrict port 587 as well. WP Mail SMTP uses port 587 with TLS by default, or port 465 with SSL, and both are standard. If your host blocks them, API-based mailers such as Brevo, SendLayer, or Mailgun connect over HTTPS instead of SMTP, which is not blocked, so switching to an API mailer solves it. Ask your host's support which ports are open if you are unsure.

The API key or password is wrong. Re-copy the key from your mail service and paste it again, watching for a trailing space. If you use Gmail, remember that your normal password does not work: you need a 16-digit app password with 2-Step Verification on. If you use Microsoft 365, note that Microsoft is disabling basic-auth SMTP AUTH by default for existing tenants at the end of December 2026, so a username-and-password setup there may stop working, and an app password or OAuth connection is the safer route.

The domain is not verified. Most mail services refuse to send until you verify the domain by adding DNS records. Open your mail service dashboard and check the domain status. If it says pending, your DNS records may not have propagated yet, or they may be in the wrong DNS zone.

The form or shop notification is off. Go back to the diagnosis steps. If the test email works, the mail system is fine. Open the form plugin or WooCommerce email settings and confirm the notification is enabled and addressed correctly.

A security plugin is blocking wp_mail(). A few security plugins and hosts block outgoing mail as an anti-spam measure. If everything else checks out, temporarily deactivate your security plugin and send a test. If mail starts flowing, look for a mail or outgoing-connection setting in that plugin, and ask your host whether they filter outgoing mail.

If none of this helps, contact your host's support and tell them you have SMTP configured through a verified mail service, the test email fails with a specific error, and you need to know whether they block outbound SMTP. Giving them the exact error message from the test tool gets you a useful answer much faster than "email doesn't work."

What about WooCommerce and contact form emails?

The same fix covers them, because they all go through wp_mail(). Once SMTP is working, order confirmation emails, password resets, and form notifications all use the same route.

Two things are specific to forms and shops. First, check the notification settings in the form or shop plugin itself, as described above: a correct mail system cannot deliver a message that was never sent. If you built your form recently, our guide to how to create a contact form in WordPress walks through the notification settings. Second, check the email content. Order emails that contain only an image, or a single link, look like spam to filters. A plain-text order summary with the order number, items, and total is more likely to reach the inbox than a heavily designed template.

Also remember that WordPress Recovery Mode depends on working email. When WordPress detects a fatal error, it emails the admin a recovery link. If your mail is broken, you never get that link, and you have to fix the error by FTP instead. Getting mail working is also a recovery tool, not just a convenience.

Frequently asked questions

Why is WordPress not sending emails all of a sudden?

Something changed, and the steps for how to fix WordPress not sending emails are the same as in this guide. The most common causes are a plugin update that changed the From address, a host that started blocking PHP mail(), a domain whose DNS records expired or were changed, or a mail service whose API key was rotated. Check the email log first: it shows whether the message was sent, failed, or never attempted. Then check the From address and the DNS records.

Is WP Mail SMTP free?

Yes. The free plugin on WordPress.org covers the whole fix in this guide, including the Brevo and SendLayer connections. The Pro license costs $49 for the first year and renews at $99 a year for one site, and it adds an email log, reports, and backup connections. The Pro-only mailers are Amazon SES, Microsoft 365, and Zoho Mail.

Do I need a paid mail service to fix WordPress email?

No. Brevo is free for 300 emails a day, which is plenty for a small site. SendLayer offers a 200-email free trial, then starts at $5 a month billed annually. If you send very little mail, Gmail is also free, but it needs an app password and 2-Step Verification.

Why do my WordPress emails go to spam?

Because the receiving server does not trust the sender. The usual causes are missing SPF, DKIM, or DMARC records, a From address on a free domain such as Gmail, or sending from a shared hosting IP with a poor reputation. Set up SMTP through a verified mail service, add the three DNS records, and send from an address on your own domain.

How do I test if WordPress can send email?

Use the Email Test tool in WP Mail SMTP, under Tools, then Email Test, or install the free Check Email plugin. Send a test to an address you control and check the inbox and the spam folder. Then test the real thing: submit your own contact form or request a password reset.

Can I fix WordPress email without a plugin?

Yes, but it is not a beginner job. You can add a small must-use plugin that hooks into PHPMailer and configures SMTP with a few lines of code, storing the credentials in wp-config.php. The plugin route in this guide does the same thing with a settings screen instead of code, and it is easier to maintain and easier to debug when something breaks. If you are comfortable editing PHP, the manual route works, but for most site owners the plugin is the better choice.

The short version

WordPress email fails because it relies on PHP mail(), which most hosts do not run properly and most inboxes do not trust. That is how to fix WordPress not sending emails: install the free WP Mail SMTP plugin, connect it to Brevo's free plan or another mail service, add SPF, DKIM, and DMARC records to your domain, and send a test email. That is the whole fix, and it takes about 30 minutes. After that, turn on email logging so the next missing message tells you exactly what happened instead of leaving you guessing. If you want to keep your site healthy beyond email, run through our WordPress website maintenance checklist once a month, and if the site itself is slow, our guide to how to speed up WordPress covers the fixes that matter most.

*Last updated: December 4, 2026. Prices checked December 4, 2026 on the providers' own pages and current reviews; mail services change prices, so confirm on the provider's site before you sign up.*

Editorial Team

The GetStartedWP editorial team is a team of WordPress experts and developers. We are passionate about creating and sharing content like tutorials and guides about the entire WordPress ecosystem.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a small commission.

Leave a Reply