Why WooCommerce is not sending emails
WooCommerce is a popular solution that allows you to have your online store with WordPress. It is very easy to configure, and you can easily do a lot of things here. When the user orders something from you, they usually get an email confirmation about it. If the user is not receiving an email, it might decrease the user experience. Therefore, you will have to fix this issue.
If your WooComemrce is not sending an email, you are not alone. Many other people are facing the same problem. With that being said, we will see here how you can fix this issue and users can start receiving emails again.
There could be multiple reasons why WooCommmerce is not sending emails. We will see all of them one by one.
Knowing WP Mail
One of the most common issues on why WooCommerce isn’t sending emails is because of the WP Mail. Well, it’s not WP mail, it’s wp_mail(). It’s a function by which WooComemrce will send the emails. Not just WooComemrce, even WordPress sends using the same function.
Now, this is where the problem begins. Wp_mail() function is popular and most of the scripts are using it. Along with this, there are a couple of disadvantages that comes with it. These disadvantages are mostly faced by the people who own the server. So, they are faced by your hosting company.
This is the reason they keep it turned off. If they have disabled the function, your website won’t send any emails to the person.
Now, you have got two options here.
The first one is where you can contact your hosting provide and ask them to enable the option. There is a small chance that they will enable it for you. If you are using shared hosting, they won’t enable it for you and so the issue is not going anywhere. However, it’s always worth trying. Most of the service providers out there are offering live chat. You can simply ask it in the live chat. In this way, you won’t even have to go to the support ticket. Your solution will be there in few minutes.
If you are using a reputed hosting, the function will already be enabled for you. In this way, you won’t face any issues. That’s why we always suggest you go with the reputed hosting services.
The second way is where you can surely use SMTP instead of wp_mail().
We already suggested that the second thing you can do is use the SMTP. SMTP stands for Simple Mail Transfer Protocol. It’s a protocol using which you can send emails to the users. Well, we won’t go more technical here because the guide is about how to solve the issue. We are sure that you might be more interested in knowing how your WooCommerce can start sending emails again rather than knowing about what is SMTP and how it works.
So, let’s get to the point. To start sending the emails again, you will need an SMTP plugin. You can easily get it from the WordPress plugin directory. You can easily get the SMTP plugin.
The plugin we are going to be here is “WP Mail SMTP”. You can simply search it and you will find the plugin. Once you find the plugin, you can install and activate the plugin. There are only a few plugins that will allow you to do this. You can use any of these plugins. It’s surely up to you which plugin you want to use.
We will now see the plugin mentioned above. However, all the plugins are the same. You will have to configure the plugin in an almost similar way. So, you can easily use any of the plugins.
There are only a few options you will have to do. You can easily use the email address. It’s the “from” email address. This is the same email address that you can use in the settings panel. You can use the same email address that is your WordPress admin panel.
Types of Email Services
Now, there are many email services where you can use one. In the same plugin, there will be multiple options from which you can select one.
There will be two options. One is TSL and the other one is SSL. You can surely use the SSL here. However, it’s surely your choice. You can use the one that is best for you. We suggest you go with the SSL.
Other than this, there are multiple types of email services from which you can choose one.
- Default Email Services
- Amazon SES
- Other SMTP
These are some of the services where you can select the one that is most suitable for you. You can always go with the one that is most suitable for you.
We will see the details for both of you.
Using Default Emails
You can use the default email service. This is the free email service that you will get in every hosting service. All the hosting have their free email service that you can use.
If you are planning to use this one, you can simply select the default email service and then continue. It will ask you for the configuration details. They will ask you for the host details and then ask you for the port number and other similar things. Further, you will be asked for the username and password. This is for the authentication. It is the most important step.
Now, you surely might be thinking about what you should enter in these fields, right? Well, you can easily get these details from the cPanel of your website. When you go to the email address, you will have a default configuration email. You can enter all the details from the configuration email. It will have all the details such as email address, URL, and port number. In this way, you will have all the information you will need. When you enter all the details, you are all set to go.
You should then send a test email to know whether it’s working properly or not. If it’s working, you can surely continue ahead. If not, there will be some problem with the mail provider.
Fixing the Default Email Service
If the above-mentioned method doesn’t solve your issue, there will be some other things that you need to see. You can first check whether you can send an email from your cPanel’s email address. If the emails are not being sent, then there are some problems with the email service. Well, it’s not the third-party email service but it’s by the same email service that your hosting provider is using.
What you can do here is contact the hosting provider and they will help you out. You can simply use the live chat feature to chat with the support person and get all the details you want. They will guide you on how you can enable the emails. Sometimes, it’s because the mail servers are not pointing towards their website. Don’t worry, we won’t go all technical. Instead, you can directly ask them and they will guide you on what you should do next. In this way, you will surely find a way.
In most cases, it will be due to the MX records. You can simply check it by going head over to the DNS records or DNS editor in your panel. This will have all the information about your mail. You can simply check whether the MX records are pointing to your hosting or they are pointing to other websites. In most cases, it will be pointing to other websites. Therefore, you will need to fix that first. You can easily fix that with a simple procedure. All you have to do is change the hostname to the mail records of your hosting. Gets a bit complicated, right? Well, that’s why we suggest you contact your support team, they will help you with the entire procedure.
Are Emails Registered?
Now, most of the hosting provider allows you to send an email only if you have registered that particular email address. Don’t worry, it’s not paid but you will have to do it to make sure that the emails are sent. You can easily do this by heading over to the email address section in your cPanel. When you go there, you will see the option to add an email address.
You can simply add the email address from which you want to send and receive the emails. Once you register it, you are all set to go.
You can then try sending the email again using the SMTP plugin and see if it’s working or not. In most cases, it will be working. If you have no idea which email address WordPress is using, you can surely enter the admin email address which will do the job. Further, you can also register more email addresses. If you are using Cpanel, it will be free.
Please note that if you are using your Gmail address or any other similar service, you might face some issues. So, you can change the admin email to your domain address instead of using any free service for the same.
In the same way, if you are using any paid service that comes along with your hosting, you can contact your hosting provider in that case.
Using Third-Party Services
You can always use third-party services to send the emails. These services are fast and some of them will also allow you to create your account and use their services for free. You can use any of the services from the SMTP plugin.
The procedure for all of them is pretty simple and we will see how you can do it. At first, you will have to create an account at the service. Let’s say, for example, you are going with SendInBlue service. In this case, you will have to register an account with them. You can choose a respective plan that allows you to send the emails.
You can then choose the plan that is right for you. Thereafter, you will have to come back to the SMTP plugin and select the SendInBlue service from the list. Please note that we have asked you to select the SendInBlue service because we are taking the same example, you will have to select the service which you use. Once you select the service, you are all set to go.
You can then enter the details of the service. If it’s asking for any API key, there will also be a link from which you can get it. So, you can simply click on the link and then get the API details. Thereafter, you are all set to go. You will then see that WooCommerce has started sending the emails again.
You can surely try any of the services that you want. It’s easy to set up the email address and the service. With the same service, you can do a lot of things. Most of the email services are there to help you with email marketing. So, you can start using email marketing to get customers. This will allow you to convert the leads into your customers.
To conclude, this is how you can easily fix the issue where emails are not sent to the customers. If they are being sent to the customers but you can’t get the emails as an admin, you can try changing the admin email address. This is the easiest way to fix the issue in no time.
So, the issue might be there with your hosting provider. Therefore, the first way is to contact them and make sure that the email is working. If that’s not the issue, you can surely use third-party services to send the emails. Don’t forget t active the SMTP before you do any of these things. There are very rare chances that the PHP Mail function will do the work.
KEEP YOUR ONLINE SHOP SAFE WooCommerce Maintenance Service
Save 17% with our Annual pricing plan.