It is always better to use SMTP to send WordPress emails because it comes with a lot of benefits. WordPress uses the mail function in PHP to send emails and unfortunately, many WordPress host providers have this function but it is not configured properly. In many cases, the hosts have also disabled it entirely. Whatever the case may be, your WordPress site will not be able to send or receive any emails if either of those conditions is true.
The solution to this problem is to use a third party email service to send out your emails but in this case, you will have to pay for your account. What if there was another option and something you have paid for already when you bought your WordPress site’s hosting space?
You can use the email service provided by your hosting provider. In other words, your hosting provider will also provide you with an email service for each domain you host with them. So, you can have email accounts with your host name like firstname.lastname@example.org.
To create an email account, go to the cPanel dashboard of your host and click on Accounts under the Email section of the page. Create an email account here. Now, you can use this account to send and receive mails on your WordPress site.
Before you start using the account, you need more information from the hosting company – SMTP host for your email address and SMTP port for secure login. Check the support section of the website of the host provider you are using to get the required information.
Now, to use the email on your WordPress site, you need to install the plugin WP Mail SMTP.
Activate it and visit Settings > Email to configure it for the required settings. If you have all the information you need, you can easily fill up the configuration settings. Fill out the form and make sure the “Send all emails via SMTP” option is checked before you proceed. Also, ensure that “Use SSL for encryption” option is checked too.
Save your changes and you are now done! Your WordPress site will now use the SMTP details and authentication to send out emails and will also receive through the same.
To test your settings, you can use the testing tool that comes with WP Mail SMTP plugin. The tool is very easy to use. All you need to do is enter your email id in the text box labeled To. The test mail will be generated and sent to the specified email address.
If you receive it on your id, it means that you have properly configured your SMTP settings. In case you don’t, the most probable reason for failure is incorrect SMTP host name or port number. Also ensure you are using correct encryption method and confirm with your host provider about which method is the best.