One of the most commonly asked questions on Booking Ultra Pro is how to fix WordPress not sending email problem. Many of our users ask us why they are not receiving notifications of the bookings, or why their clients are not receiving a purchase receipt. In this article, we will show you how to fix WordPress not sending email issue.
Why I’m not Getting Emails from Your WordPress Site?
The most common reason for this is that your WordPress hosting server is not configured to use PHP mail() function. However, this is not the only reason, another reason is that many email service providers use some tools to reduce spam. These tools try to detect that an email is originating from the location it claims to be originating from.
Sometimes the email is sent out by WordPress, but it never even makes into spam folder of the destination.
This is why we recommend not using PHP mail() function to send emails, this is the function WordPress uses to send emails and it causes many issues.
Sending Emails by Using SMTP
This is the most effective way to send emails from your website. By default WordPress will send email by using the php mail function. Most of the time the email will be sent straight to the spam box.
Getting the SMTP credentials through cPanel.
Click on Emails link then edit your email account, you will see the following screen.
Click on BUP Notifications Tab.
Use the data obtained on cPanel to activate the SMTP Mailer.
Some servers block SMTP, if you get a error message when sending emails you will have to get in touch with your hosting provider. Sometimes, your server’s IP number might be blocked or recognized as spam, you will have to ask your hosting provider to remove it from the blacklist.