WordPress not sending email

[FIXED] WordPress Not Sending Email?

Is WordPress not sending email from your website?

This is a super common problem, but it’s also really easy to fix. We’ll show you the easy way to fix your emails in this tutorial.

Fix Your WordPress Emails Now

Why Are My WordPress Emails Not Sending?

There are a few potential reasons why your WordPress emails aren’t sending:

  • Your emails look like spam: This is the most common reason. When your web server generates an email, it only creates the headers required for basic email delivery. WordPress uses a function called wp_mail() which doesn’t add any authentication to prove that the message is legitimate. You can use WP Mail SMTP to fix this.
  • Your web hosting provider doesn’t allow you to send emails: This is less common, but it’s still an issue with some big hosts. You might run into this if you Amazon EC2 or Lightsail. WP Mail SMTP will allow you to get around this, with or without Amazon SES.
  • You’re using localhost: If you’re creating your site on your computer before uploading it, your emails likely won’t work. WP Mail SMTP will fix WordPress not sending email on localhost.

No matter what the cause, WP Mail SMTP will solve this problem quickly and easily.

Let’s go ahead and set it up on your site.

How To Fix WordPress Not Sending Email

We’re going to use WP Mail SMTP to re-route your emails through a 3rd party email service provider (ESP). This will add the authentication required to get them delivered reliably.

  1. Install the WP Mail SMTP Plugin
  2. Connect Your WordPress Website to a Mailer Service
  3. Turn On Email Logging
  4. Frequently Asked Questions About WordPress Not Sending Email

Let’s install the plugin first.

1. Install the WP Mail SMTP Plugin

First, you’ll want to install WP Mail SMTP on your WordPress site. You can use the free or paid version, but you’ll want Pro or above to use the email logging and reporting features we’ll talk about later.

To download the plugin, head over to your WP Mail SMTP account and click the Downloads tab. You can download the plugin zip file by clicking Download WP Mail SMTP.

Download the WP Mail SMTP plugin

Next, switch to your website and log in to the WordPress dashboard. Head to Plugins » Add New.

Add new plugin in WordPress

Upload the plugin zip file and click Install Now.

Install WP Mail SMTP

Once the plugin is installed, be sure to Activate it. This will start the Setup Wizard in your browser.

Now we’re ready to set up your email provider for WordPress.

2. Connect Your WordPress Website to a Mailer Service

We’re going to route your emails through a separate email provider to fix WordPress not sending email.

To see the available email providers, click the Let’s Get Started button in the Wizard.

click the Let's Get Started button

On the next screen, you’ll see a list of available mailers that you can configure.

Choose an email service provider for WordPress SMTP

Here’s a quick guide if you’re not sure what to pick here:

  • Small websites or testing: You can use Other SMTP for this. Keep in mind that most SMTP servers have rate limits, so this could cause your WordPress emails to fail on a busy site.
  • Website sending a few emails a day: The Gmail mailer is a good option if you have a Google Workspace or Gmail account. It’ll allow you to send emails from any of your Gmail aliases in WordPress, which is handy if you want to use different Gmail aliases with different forms or plugins.
  • Medium to large websites: Websites that send transactional emails should consider a professional email provider like SMTP.com or Sendinblue.

If you’re not sure what to pick, Sendinblue has a free plan for up to 300 emails a day. It also authenticates your domain name, rather than an individual email address, so you can send email from any address at your domain in WordPress.

Sendinblue pricing

When you’ve chosen a mailer, jump to the documentation using the links below. The doc will help you set up a connection between your website and the mailer you chose in the Wizard.

Mailers available in all versions Mailers in WP Mail SMTP Pro
SMTP.com Microsoft Outlook
Sendinblue Amazon SES
Mailgun Zoho Mail
Gmail / Google Workspace
Other SMTP

Need a hand?

Our Elite license includes White Glove Setup for SMTP.com or Mailgun.

When you’ve set up a connection, switch back to this guide.

3. Turn On Email Logging

In the next step, the wizard will have two options enabled by default. They are:

  • Email deliverability
  • Error tracking

Both options will help in improving email deliverability.

If you have WP Mail SMTP Pro, you can enable the Weekly Email Summary and Detailed Email Logs here too.

Enable WordPress email logs and weekly summary

So, how will this help?

First, our email log feature does a lot more than just WordPress email logging!

Once it’s enabled, you can also:

Open and click details in WordPress email log

And the Weekly Email Summary will send you an update every Monday with deliverability statistics.

That makes it easy to keep track of your WordPress emails without logging into WordPress.

Email Summary With Statistics in WP Mail SMTP Pro

Now we’re ready to complete the Setup Wizard and test your email.

For the last step, grab the license key from your WP Mail SMTP account and paste it into the box to enable Pro features and future updates.

Enter WP Mail SMTP license key

And that’s it! WP Mail SMTP will send a test email to confirm everything’s working.

Fix Your WordPress Emails Now

Frequently Asked Questions About WordPress Not Sending Email

Got questions about WordPress emails not working? We’ll answer some common questions below.

Let’s get started.

What Is SMTP?

SMTP stands for Simple Mail Transfer Protocol. It’s the protocol that servers use to send emails.

In WordPress, you can use SMTP to send emails instead of relying on your web server. This is more reliable because it adds the correct authentication to your emails.

What Email Address Should I Use as the “From” Email?

You should always use the From Email that you authenticated in the Setup Wizard. That will ensure that all of your emails have the correct authentication. When the email is sent, it’ll be delivered as though it was sent from your email account.

WP Mail SMTP allows you to force the From Email and the From Name across your entire site. This setting overrides the From Email and From Name you’ve chosen in all other plugins and contact forms.

Force the From Email in WordPress

Can I Set Up WooCommerce SMTP?

Yes! Once you’ve completed the steps in this tutorial, all WooCommerce order emails will be sent from your chosen mailer.

You can use an SMTP provider for WooCommerce, but we recommend that you use a transactional email provider instead. This will make sure your customers get WooCommerce order emails quickly.

Why Can’t I Use PHPMailer?

PHPMailer is the default method of sending email in WordPress. If this is selected in WP Mail SMTP, it means the plugin isn’t improving email deliverability because it hasn’t been set up yet.

To stop your WordPress emails from going to spam, be sure to run the Setup Wizard and configure an email provider or SMTP server.

Why Is “Other SMTP” Not Working?

If the Other SMTP mailer isn’t working, or you’re getting an SMTP error, first check that you’re using the correct SMTP settings in WP Mail SMTP.

Select Other SMTP in WP Mail SMTP

In particular, pay attention to the SMTP port since different servers have different requirements.

If that doesn’t work, you may be using a host that blocks SMTP or restricts you from using its own SMTP server. This block is typically put in place to prevent spam, or to encourage you to pay for the host’s own SMTP service.

If SMTP is blocked by your host, you can use any of the API-based email providers like Sendinblue, SMTP.com, or Gmail to get around it.

For more details, check out our articles on:

These guides are designed specifically for customers who can’t use external SMTP servers.

Why Is “Other SMTP” Making My Site Time Out?

If the Other SMTP option is causing your WordPress site to time out, that’s a sign that you may have an incorrect DNS setting, or your SMTP server is down.

This is also a common issue for Cloudflare users who have the wrong proxy settings on their DNS zone. Check out this guide to fixing WordPress emails on Cloudflare for full details of the settings you’ll need to change.

Why Am I Seeing a DMARC, SPF, or DKIM Warning?

WP Mail SMTP has a Domain Checker that automatically scans your domain’s DNS records. If it spots a problem with your DNS that could affect email deliverability, it’ll notify you when you send a test email.

Domain Check results

To fix this, start by reading our guides on:

Once your DNS records are correct, your emails will have the right authentication and will no longer land in your recipient’s spam folder.

Fix Your WordPress Emails Now

Next, Track Email Activity in WordPress

Now you’ve fixed WordPress not sending emails, check out our open and click tracking.

You can track opens and clicks on individual emails or generate an email report for any subject line. This makes WP Mail SMTP an awesome user tracking plugin.

Open and click rates in WordPress graph

Ready to fix your emails? Get started today with the best WordPress SMTP plugin. WP Mail SMTP Elite includes full White Glove Setup and offers a 14-day money-back guarantee.

If this article helped you out, please follow us on Facebook and Twitter for more WordPress tips and tutorials.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.