Is your WordPress not sending emails?
Or, WordPress emails are landing on SPAM folder?
You are not the only one who is facing this issue… Rather, It’s a common problem with WordPress. Even, I also faced some months ago but now it has been resolved.
So, I am going to share the same way that I used to fix WordPress not sending emails issue.
If you have any issue related to WordPress email delivery then it is going to be resolved after reading this post. The method I’ll suggest you will work 100%.
I promise that !!!👍
This issue usually found with the contact form plugin you are using on your WordPress site.
In my case, I was using WPForms and whenever someone submits any form on my website was not delivering to my inbox.
I was not aware of this issue and didn’t have any idea how to solve this.
After searching a lot and talking to WPForms support, finally, I got the solution and the exact same I am going to share with you in this post.
Why WordPress Not Sending Emails To You?
The main reason behind this is WordPress uses PHP
mail() function to send emails and most of the hosting provider’s server is not configured to use PHP mail() function.
Maybe yours too…
Let’s assume your Hosting Provider’s server is configured to use PHP mail() function but many email service providers use various tools to reduce email spam.
Tools that Email service providers use to catch spam emails try to detect that an email is originating from the location it claims to be originating from.
And WordPress usually fails in this test. This is the reason why you are not getting your emails even in the spam folder.
That’s why experts don’t recommend to use WordPress for sending your email newsletter.
Now, you know what is the reason why you are not getting your WordPress emails in your inbox. So, what’s the solution for it?
Have you ever heard SMTP before? I’m sure you have…
SMTP(Simple Mail Transfer Protocol) will solve this issue by changing the way your WordPress send emails.
SMTP is the industry standard for ensuring email deliverability, it does not use the PHP mail() function instead, it uses proper authentication.
There are many SMTP service providers are available out there, here is a list of some of them:
- SparkPost: I use SparkPost to manage my email deliveries here on StayMeOnline and also using on StayMeOnline Forum.
- Gmail or G Suite: Works only with Google emails, more secure, no subscription.
- MailGun: Popular and very reliable SMTP service provider.
- SendGrid: SendGrid is best for beginners, It has cheap plans with a free plan.
How I Can Fix My WordPress Email Delivery Issue With SMTP?
WordPress is using PHP mail() function to send all emails to you which is creating problems and you are not getting your emails.
Now you can need to change the way of sending emails using SMTP.
When SMTP for WordPress comes, the best plugin known for SMTP is WP Mail SMTP by WPForms.
Why Only WP Mail SMTP by WPForms?
WP Mail SMTP by WPForms is the most popular SMTP plugin for WordPress, It will allow your WordPress to send emails through SMTP service provider which will you choose.
WP Mail SMTP has more than 1 million active installations with 4.5 stars rating.
Features of WP Mail SMTP by WPForms:
- White-Glove Setup: If you don’t know how to set up it then don’t worry, WP Mail SMTP team will install and configure it for you. So, you can sit back and relax their team of experts will configure it for you.
- Email Log: It will keep track of every email sent from your WordPress site.
- Manage Notification: You can control notification that your WordPress site sends.
- Support All SMTP Providers: WP Mail SMTP supports all SMTP Providers.
WP Mail SMTP recently launched their PRO version which can give you more features that can help you to get most out of this.
It has a free plan as well if you are not willing to spend money or don’t have a budget now. Its free plans work well if you have basic needs and know how to configure it because White Glove Setup available in Elite plan only.
Here are the available plans and their features:
I am also using its free plans and everything working fine for me if you have basic needs then FREE plans is best for you.
Now get back to the main topic, How we can fix WordPress emails not sending issue. So for this, you need to follow these 3 steps to fix this issue:
- Choose an SMTP Provider to start with, I will recommend MailGun and SparkPost.
- Download and Install WP Mail SMTP by WPForms Plugin, if you don’t know how to install WordPress a plugin then here is our simple guide that can help you.
- Enter your SMTP credentials to WP Mail SMTP
Choose An SMTP Provider
For this tutorial, I am going to use SparkPost. You can select any other you want, If you are a beginner then you should go with SparkPost because they offer a FREE Plan.
Go to this link and Register a new account. Fill out the form with your valid email…
On the next screen, it will ask you to choose a plan. They have a free plan as well, you can select that if you don’t have a budget now.
Now, add your domain where you WordPress installed.
There are two ways you can use SparkPost for, First is SMTP and second is REST API, So, we are setting up SMTP so proceed with the first one.
On the next screen, you will see your SMTP credentials. Copy the Password because you won’t be able to see it again then click on Continue to Dashboard.
Now, you are on your SparkPost Dashboard. You can see a notification saying Verify your email address.
Go to your email inbox which you used while signing up, you will see an Email like this one:
LISTEN! This does not end here. Log in your dashboard and you will see a Getting Started Checklist at the bottom. You can see there is one step still remaining that is “Verify your sending domain“.
I know you have added your domain but it doesn’t mean it is verified, you need to verify it manually by adding DNS records.
On the next screen, you will see a list of sending domains you added, as per now you have only one domain added then only that will be available there.
Click on domain name and you will see a TXT record in the Set Up For Sending section. You need to add this to your Domain’s DNS settings.
Open your domain registrar where your DNS settings are located, if you are using Cloudflare then open it and add this TXT record in your DNS section.
Once you added the record successfully, click on Verify TXT Record on the right upper corner to verify, whether it is added or not?
If your domain is verified successfully then you will see a notification like this:
Congrats, you have verified your domain successfully. But it is still not active, it is in pending status. SparkPost will take a few minutes to activate your domain.
WP Mail SMTP Setup
Once your Domain is active, Install & Activate WP Mail SMTP by WPForms plugin by going Plugins>Add New in your WordPress site. If you don’t know how to install a plugin then here is our guide.
After activating the plugin, go to WP Mail SMTP>Settings then General Tab, Enter the From Email, From Name and check the box next to set the return path to match the from email address.
Now come to Mailer section, you can see some SMTP Providers, you can choose any of them. if your SMTP service provider is not there then Choose the last one, Other SMTP.
We are using SparkPoast which is not on the list then I am going with Other SMTP.
Enter the SMTP details you got from SparkPost, you can find them by going to your SparkPost Dashboard>Settings>SMTP Settings. Fill them carefully and don’t forget to save settings.
Now, this is the time to test whether the issue resolved or not. Let’s test it by going to the Email Test tab just beside the General Setting tab. Enter the email you want to send a test email to and click on Send Email button.
Now go to your Inbox and search for the email sent by WP Mail SMTP which will look like…
That’s It! Congratulations, your issue has been resolved.
This is how you can fix WordPress not sending emails issue in your WordPress site.
Now, your WordPress is using proper authenticated way of sending emails instead of using PHP mail() function as before. So, you will get every single email in your inbox.
If you still face issue then just let me know in our Forum, or leave a comment.
I hope this tutorial helped you to resolve your WordPress not sending emails to your inbox issue, if it did then must share it with others and help them too.