This article also fixes ‘WordPress not sending Emails‘. If you are a regular user of WP, you may have noticed that emails are not being sent from WordPress. They will be either blocked, sent to spam, or even they are not sent at all. This article will fix every query regarding Emails for your WordPress website. If you are running membership sites, forums, or E-Commerce sites, you must set up a fully pledged emailing system for WordPress. Also, if you are using plugins like Contact Form7, you have to do this.
First, understand some core basics. Emails are sent from SMTP servers or through Custom PHP files. If an email is sent through SMTP, it is considered authentic by the mailing service to which the email gets delivered. If the recipient mailing server detects that the Email has been sent through PHP, it may consider it as spam.
Just an example, you only answer phone calls with valid phone numbers only. If the number of the caller is not being displayed on your phone, what will you do? Most people who are concerned about privacy, ignore such calls. Such unknown calls cannot be tracked to their origin. Mail Servers also work the same way. They want to stay away from spam hence they only accept emails that don’t look fishy.
WordPress by default sends its Emails through PHP files, which may create issues while sending emails. Hence a proper SMTP Server plugin has to be installed.
This way, all the Emails will be sent through the SMTP server instead of the default PHP file.
Before continuing, you must have a proper email ID from which you can send emails to your Customers/ Viewers and Members (if any). However, I don’t think it’s important to set up SMTP for Blog Sites that don’t send emails. On this site, we do not use any Contact Form Plugins, nor SMTP Plugins. We eliminated 2 plugins by just mentioning our Email ID.
Note that, Email ID need not be related to your Domain. You can use any Email ID belonging to other domains as well. The emails sent from WordPress will have the ‘From‘ address, the one which you used to set up the plugin.
Setting Domain Email
Let’s assume that you want to send emails to your users from ‘[email protected]‘. You have to create that email ID on your Hosting Panel. If your hosting panel doesn’t have an email server (like Cloudways or VPS) you can approach any Email hosting servers that you prefer.
If you are using ‘Email Hosting‘, other than your ‘Website Hosting‘, add their MX Records and Verification records to your DNS Record List.
If you face any trouble Creating Email IDs, kindly contact your hosting provider. We cannot explain how to create an email for your domain as it varies from host to host.
When you create the email ID, ‘[email protected]’, you will have your Password in hand. Along with that, you must have Hosting Provider’s Configuration Settings, which they have mentioned in your ‘account dashboard’, also, some hosting providers send those details in the first email you receive. You can also contact the email host for this information.
Below are the default Email configuration Settings for Hostinger.
Now let’s go back to WordPress and discuss the SMTP Plugin.
Installing and Configure SMTP Plugin
There are many SMTP Plugins. We recommend using, SMTP Mailer Plugin. And we will guide you on setting this Plugin to send Emails.
Once installed and activated, Go to Settings > SMTP Mailer
Everything is clearly explained within the Plugin as to what details you need to enter and Save Changes.
Now go to the Test Email Tab and send a Test Email to your Personal Email ID. If the Email is not delivered, then probably SMTP settings may be wrong or Password may have been entered wrong. It is pretty much straightforward to set this up. Let us know if you face any problems.
Logging and Testing Emails
It is very important to Log every email that is sent from your WordPress CMS. In this way, you can keep track, in incase someone faces issues regarding mail delivery. You can check the logs and confirm from whose side is the error.
You can also create and send Emails to custom addresses from your WordPress dashboard. Similar to what you send from your email accounts. This saves time logging back to your hosting email account and sending from there.
We suggest using the Plugin, Mail logging – WP Mail Catcher which works flawlessly. Once installed, you will find the plugin options on the left menu of WP Dashboard. Don’t make any other changes except when to delete logged messages.
The benefit is, it not only logs the messages but also allows you to read them. Every single email which WordPress sends is logged. On the WP Mail Catcher dashboard, you can send manual emails by clicking on ‘New Message‘ on the top.
And this solves all your problems regarding WordPress not sending emails.