WordPress not sending email?
If your WordPress site stops sending emails, it can result in a direct loss to your business. You could end up losing valuable leads and potential customers. Or you could end up completely breaking the experience for your existing customers.
But what’s the problem, really? Why isn’t your WordPress site sending emails?
And more importantly, how do you fix it?
In this article, we’ll answer all these questions and give you an easy way to fix the issue.
Let’s dive right in.
Why is WordPress Not Sending Email Notifications?
It’s a common issue among WordPress users and chances are high that it has nothing to do with your installed themes or plugins.
Your WordPress site can’t send emails because your hosting provider isn’t properly configured to send emails. And you may not even get notified of contact form submissions.
Just imagine the number of leads and potential customers you could lose in a matter of hours. For an online store, you may end up in a scenario where people buy from you, but none of your automated emails are sent. That can lead to a lot of confusion and even a loss of trust in your customers.
Let’s take a closer look at the technical end of the problem.
WordPress handles user registration emails using built-in PHP code called the wp_mail() function:
This is a big problem because not all WordPress hosts are configured properly to use PHP mail.
And even if the servers are configured properly, Gmail and other email service providers use strict spam filters. These spam filters try to verify automatically that your email is coming from your business and not a fraudulent third party. That’s where most of your emails get blocked or flagged as spam.
How to Fix the WordPress Not Sending Email Issue
The right way to deal with the issue is to send your emails using SMTP instead of relying on WordPress’ PHP mail.
And we’re going to show you how to use an SMTP service to make sure that your email is always delivered. All you need to do is install the WP Mail SMTP plugin.
The WP Mail SMTP plugin will help you fix your email delivery issues in a few simple steps. And it’s not technical at all. It’s super simple and anyone can do it. So, go ahead and install and activate the plugin. If you’re not sure how to do that, this tutorial will show you how to install a WordPress plugin.
Step #1: Installing the WP Mail SMTP Plugin
Once you’re done installing the plugin, head over to your WordPress dashboard and click on WP Mail SMTP to configure the plugin:
After you enter your license key, enter your email and name in the Mail section:
NOTE: Make sure that you enter the same email address as the one you’ll be using for your SMTP service. If there are conflicting emails, you’ll keep getting errors from the email service provider dashboard.
Don’t worry if you’re using some other email address on other WordPress plugins such as WPForms. WP Mail SMTP forces other plugins to use the email address you use to configure your SMTP service automatically.
That’s all for now.
Step #2: Selecting an Email Service Provider
Next, you’ll need to choose an SMTP mailing service for your site. We recommend using SMTP.com. But you can find a lot of different services there.
Head over to your WordPress dashboard and go to WP Mail SMTP » Settings.
Then, under Mailer, select a service provider. You can choose between a whole host of options:
We recommend using SMTP.com:
To finish setting up the WP Mail SMTP plugin, you’ll have to create an account with SMTP.com next. It’s a super popular SMTP service that allows you to send bulk emails with high delivery rates.
Step #3: Creating an SMTP Account
Go ahead and create a new account:
Once you’ve signed up, you’ll be asked to click on an activation link via email and confirm your identity.
So, keep an eye out for multiple emails.
And then, go back to the WP Mail SMTP plugin to connect your SMTP account to the plugin.
The popup will ask for an API key which you can get from your SMTP.com dashboard. Click on the Get API Key link (click on this link to get there directly):
You should see a table on this page. Copy the API Key in the Key column:
Then paste this API key in WP Mail SMTP:
Finally, in the Sender Name field, click on the Get Sender Name link:
Copy the name in the Name column:
And paste it in WP Mail SMTP.
Then hit Save Settings:
Step #4: Adding the SPF Record to Your DNS
Now, you’ll have to add the SPF record to your DNS records.
If you don’t know what any of these mean, don’t worry. We’ll explain.
The Sender Policy Framework (SPF) is how SMTP.com authenticates your emails. Implementing this step ensures that your emails won’t get kicked into the Spam inbox.
Head over to the navigation menu of your SMTP.com account and click on Account » My Settings:
Then, go to General Settings and look under SPF Record:
You’ll need to add this SPF record to the DNS settings for your site. If you don’t know how to do this, check out this article on how to add SPF records.
NOTE: In the DNS settings, you’ll see a field called TTL (Time To Live). The default value is usually 1 hour. If you can change this record, we recommend changing it to 1 day or 86400 seconds. This will allow the server to cache this information for a full day.
Step #5: Validating Your SPF Records
If you’ve added the SPF record, then you should validate that the changes were updated. It may take up to 48 hours for the changes to reflect. So, validating the results before moving on to the next step is a good idea.
Click on this link and head to the section that says SMTP.com SPF Record Domain Check.
In the Domain field, submit your website’s URL and click on Validate:
If you followed every step, you should see this Pass message:
And you’re done!
Step #6: Sending a Test Email
You’re done configuring WP Mail SMTP. It’s time to check if everything’s working properly.
Go to WP Mail SMTP in your WordPress dashboard and click on the Email Test tab:
Enter any email address that you have access to and send a test email. If all went well, you should see this success message:
Now, check your inbox and confirm that you received the email in your Primary inbox. We’re very confident that you’ll find it there.
Finally, all you have to do is verify that the email went through your SMTP.com account. Click on this link to go to the Deliverability Settings page. If you see the ‘Pass’ notification like this one, you did a great job:
If you don’t see ‘Pass’ in the Status field, then you’ve blundered somewhere. Just revisit steps 1-4 and make sure that you didn’t miss anything.
Wrapping Up
That’s all for this one, folks!
If you’re not happy to see your marketing efforts go down the drain, then it’s time to install the WP Mail SMTP plugin.
Once your WordPress email deliverability issues are fixed, you can go back to increasing your traffic, engagement, and sales in peace. Speaking of which, have you tried using push notifications yet?
Push notifications are a great way to increase traffic, engagement, and sales for any business. And if you’re starting out with push notifications, we recommend using PushEngage. PushEngage is the #1 push notification software in the market.
And the best part is that PushEngage empowers small businesses to compete with big brands. So, it’s a good fit at every stage of growth whether you’re looking to start, grow, or scale your business.
If you’re just getting started with push notifications, you should also check out some of these articles:
- 7 Smart Strategies to Boost Customer Engagement
- How to Get More Traffic to Your WordPress Blog (9 Easy Ways)
- How to Boost Your Web Push Notification Opt-In Rate (7 Ways)
And if you haven’t already, get started with PushEngage today to get to the next level!