WordPress SMTP: How to Configure Your Website to Send Emails
If you’re having issues sending emails from WordPress, then this article is for you. Here, we will guide you through the process of setting up WordPress SMTP protocol to guarantee your email deliverance.
Start A Free 7-day Email Course On WordPress
What You Need to Know About WordPress Email Settings
By default, WordPress uses the PHP mail function to handle its email processing. Despite so, this feature isn’t the best approach for sending emails. As a non-native email service, WordPress’ email feature tends to fail the spam tests run by web hosting providers and popular email services.
Consequently, emails sent from WordPress websites often get blocked or end up in the spam folder.
For this reason, it’s recommended for WordPress users to utilize the Simple Mail Transfer Protocol (SMTP). It will increase your deliverability rate and help you manage the overall email traffic in the long run.
How to Configure WordPress to Send Emails Using SMTP Plugin
Fortunately, you can easily configure an SMTP server on your site by using a WordPress SMTP plugin. For this tutorial, we’ll guide you through the process using the Easy WP SMTP plugin. Not to worry — the plugin is free and has a simple interface.
Here are the steps to configure the SMTP server on WordPress:
- Navigate to your hosting account, then create a new email account for your WordPress site. If you’re using Hostinger, you can do so by accessing Emails -> Email Accounts from the hPanel dashboard.
- Write down the SMTP server name and port information. Depending on your web hosting service, the location may vary. In Hostinger’s hPanel, you can find them from the Email Accounts menu.
- Moving onto WordPress, install and activate the Easy WP SMTP plugin. If you don’t know how to do it, this article provides a detailed tutorial on how to install a WordPress plugin.
- Navigate to Easy WP SMTP settings from your WordPress dashboard, then fill out the SMTP Configuration Settings form with the information you acquired in the previous steps. Once you’re done, click Save Changes.
Here’s a breakdown of the details you need to input:
- From Email Address — the email address you created in Step 1.
- From Name — the name of the sender.
- Reply-To Email Address — contains the optional second email address that will receive the replies.
- SMTP Host and Port — the SMTP details you obtained in Step 2.
- Type of Encryption — select the STARTTLS protocol command to secure your connection. If STARTTLS encryption does not work on your end, feel free to try out SSL/TLS.
- SMTP Authentication — select the Yes option.
- SMTP Username and Password — the login details of your mail server.
- Use the plugin’s test mail feature to check whether the SMTP server works with your WordPress site. Head over to Test Mail, enter the recipient’s email address and the message, then click Send Test Email.
- If the test was successful, you will see a confirmation message and you should recieve the email message in your inbox:
Conclusion
While WordPress isn’t an ideal platform to send emails, you can easily remedy that by configuring an SMTP server. The server helps the emails sent from WordPress get past the spam test that most email services use these days. Thus, your emails will less likely get lost on the way.
Learn What Else You Can Do With WordPress
How to Speed Up WordPress
Guide to Using WordPress Gutenberg Editor
How to Use WordPress Tags
How to Install WordPress
How to Enable Maintenance Mode in WordPress
How to Change User Password in WordPress
Guide to Featured Images in WordPress
How to Login to WordPress
Comments
August 20 2021
"Type of Encryption — select the STARTTLS protocol command to secure your connection." STARTTLS doesn't work. SSL/TLS option works fine.
September 20 2021
Hi Alexander! Thank you for pointing that out - sometimes (depending on application you're using, different versions, etc.) you might need to switch between SSL/TLS and STARTTLS as well as ports 587 and 465. Happy it worked out for you :)
January 10 2022
This information is now displayed in Configuration Settings. Thanks.
January 20 2022
Agree with other comment about encryption type, should be SSL/TLS for this tutorial I think as I'm running a very standard setup of Wordpress, woocommerce and Hosting SMTP and STARTTLS wasn't working for me either. wasted a lot of time until I switched that - the tutorial should at least say "try SSL/TLS if it doesn't work"
January 25 2022
Hi Josh, thanks for the input! I've updated the article as well :)
March 31 2022
I m using hostinger I have installed a PHP scripts named AToz SEO tools in its admin panel I'm trying to setup email settings but failed smtp error what should I do. Smtp.hostinger.com Port 465
April 06 2022
Hi Adnan, did you try using 587 port?
June 28 2022
Should be SSL. Star/TLS doesn't work at all.
July 01 2022
Hey there! The encryption depends on the port, if you're using port 465 then SSL encryption should be used as it's an SSL port. If you decide to use port 587, then you would need to use the TLS encryption, as port 587 is a TLS port 😊