It’s very annoying when users don’t receive any emails from your site, either they create an account or reset their password.
And if you are running a WooCommerce website, then this could be a big problem for you. It means your users don’t receive their purchasing receipt, product delivery emails, etc.
That’s why many WordPress users search on Google ‘how can I fix WordPress not sending email problem?’
But they don’t find the proper answer to what they want.
Now the time is over, in this article I’ll show you how you can solve the WordPress email not sending problem.
And also the cause of the problem. So let’s dive into it.
Why You’re Not Getting Emails from Your Site
WordPress uses the wp_mail function to send emails via PHP. wp_mail is a wrapper of the PHPmailer class and uses your host’s webserver to send mail in the same way as PHP mail does.
And the webservers are not properly configured to use the PHP mail() function. And it’s the most common reason why emails are going missing.
Another reason why your users don’t receive emails because emails are going to the spam folder.
Companies like Gmail, Outlook smartly detect that an email is really coming from the location that it claims to be from, if not then they send the emails to the spam folder. Emails sent from WordPress fail all the tests and emails go to the spam folder.
How to fix WordPress not sending emails problem
The best way to fix WordPress not sending emails problem is by using an SMTP plugin.
SMTP stands for Simple Mail Transfer Protocol. The main purpose of SMTP is to send and receive emails.
SMTP plugin configures your site to send emails using SMTP instead of the PHP mail() function.
You need to connect the SMTP plugin with SMTP service providers like Gmail/G Suite, Amazon SES, Microsoft Office 365, SendinBlue, Mailgun, Zoho Mail, SendGrid, other SMTPs (like you created a business email in your hosting), etc.
Now you want to know about which is the best SMTP plugin, right?
The best SMTP plugin for WordPress is WP Mail SMTP. WP Mail SMTP is actively installed by 1 million+ websites.
Here are some features of WP Mail SMTP:
- White-Glove Setup: WP Mail SMTP’s experts help you to configure the plugin.
- Email Log: Track every email that is sent from your WordPress site.
- Manage Notification: You can control which email notification your site sends.
- Connects with all SMTP service providers: WP Mail SMTP connects with every single SMTP service provider.
So let’s start with the WP Mail SMTP.
Step- 1. Install and active WP Mail SMTP
WP Mail SMTP comes with two versions, free and paid. With the free version, you can connect a few SMTP service providers (You can’t connect Amazon SES, Outlook, Zoho mail), can’t see your email log, can’t manage your notification, and can’t get white-glove support.
To get such advanced features, you need to buy their premium plan which starts from $49.
To install WP Mail SMTP, login to your WordPress dashboard, go to Plugins > Add New, search for ‘WP Mail SMTP’, click Install Now, and Active.
If you already buy their premium license, then you need to download the WP Mail SMTP plugin from their site.
To install and activate the premium version of WP Mail SMTP go to Plugins > Add New and upload the file.
Now you have successfully installed and activated WP Mail SMTP.
Step- 2. Configure WP Mail SMPT
It’s very important to configure your WP Mail SMTP settings properly.
To configure WP Mail SMTP, click on WP Mail SMTP in your WordPress dashboard.
The first thing you’ll need to do is to enter your ‘From Email’. The From Email is the email address which emails are sent from.
My recommendation is to use a business email (email@example.com, firstname.lastname@example.org), don’t use normal email (email@example.com, firstname.lastname@example.org).
If you enable ‘Force From Email’, all of your emails are sent from this email, even if other plugins have different settings.
Next, you’ll need to enter your ‘Form Name’. And if you want you can enable ‘Force From Name’.
Return Path indicates where non-delivery receipts or bounce messages are to be sent. Some providers may ignore this option.
If you unchecked this, bounce messages may be lost. My recommendation is to enable the Return Path.
How your ‘From Email’ and ‘From Name’ look like in the Inbox:
The last step is to add a mailer to your site.
The default mailer is PHP, but you’ll need to change that and select another mailer.
Each mailer requires slightly different SMTP configurations.
If you create your business email accounts from your hosting providers, then you need to choose ‘Other SMTP’.
You can use Sendinblue to send 300 emails per day for free and with SendGrid you can send 100 emails per day for free.
Per day 300 emails is enough for most business owners. The emails are sent from WordPress are the emails from your contact form, new user registration, password reset, etc.
So choose a mailer for your website and configure it. After configuring your mailer settings, always use the Test Email (In Email Test tab next to the General tab) function to ensure that your emails are successfully sent. And also check your inbox for the email you sent.
If you have any questions about this article you can ask in the comment section below. And if you like this article, don’t forget to share it.