By default, WordPress, like many other CMSs, is pre-configured to use the PHP mail function to send all automatically generated emails from your website. Due to the fact that the PHP Mail function sends the emails directly through the server IP address, there is quite a high chance for them to get marked as spam and consequently not delivered successfully.
Fortunately, the solution to that matter is rather simple and easy to achieve. It is called SMTP, and it basically connects your WordPress website with the Email service offered either by the Web Hosting Provider or by any third-party Mail Provider like Google Gmail, for example.
Even though the core WordPress settings do not allow you to configure and utilize the SMTP protocol for outbound emails, you can achieve that by installing a plugin. There are quite a few options you can choose from. In this tutorial, we will stick to the most popular and proven over time WP Mail SMTP by WPForms plugin.
In the following lines, we will walk you through the whole process, from installing the plugin to configuring your SMTP authentication details.
Before we move forward, there is certain information you will need to gather. You need the following details:
You can obtain the details mentioned above from your email service provider. In case you are a HostArmada customer, you will be able to find the required details in the welcome email containing all the important information of your hosting account with us. You can review the email directly from your Client Area by clicking on the email icon located at the top menu bar. In case you have any difficulties finding the details, please make sure to submit a ticket request to our team, and they will gladly provide you with them.
Next, we will need you to log into your WordPress Admin Dashboard. You can do that by accessing your domain followed by "/wp-admin", i.e., "yourdomain.com/wp-admin", where "yourdomain.com" stands for your actual domain name.
Once logged, please navigate through the left-hand side menu bar to Plugins > Add New.
Upon doing that, you will be redirected to the standard WordPress Plugin Installation interface.
Now it is time to install the WP Mail SMTP by WPForms plugin. Please use the search tool positioned in the upper right corner. You may enter any keyword contained in the name of the plugin, such as "smtp", for example.
Once the results are filtered, and you locate the plugin, please click on the corresponding "Install Now" button.
After a brief loading period, the plugin will be installed, and the "Install Now" button will be converted into "Activate". Please click on it to get the plugin activated and ready for use.
With this done, you are all set and ready to step into the actual SMTP configuration.
Now that the plugin is successfully installed and activated, you will see a new module within the left menu - "WP Mail SMTP". Please hover over it and click on the "Settings" option.
Upon doing that, you will be redirected to the WP Mail SMTP settings section, which is divided into a few tabs. By default, you will be located within the "General" tab where you are supposed to be.
Please scroll a little bit down to the "Mail" section, where you will be able to configure the sender email address.
Afterward, please scroll to the next "Mailer" section and choose the "Other SMTP" option by clicking on the corresponding radio button.
Upon doing that, a new section will appear beneath where you have to insert your actual SMTP details we have mentioned at the beginning of this tutorial.
When ready, please make sure to click on the "Save Settings" button to apply the changes.
Now that you have configured your SMTP details, it is time to test out if everything is properly functioning and your emails are being sent successfully.
The WP Mail SMTP by WPForms plugin has a built-in test feature, which makes everything extremely simple.
To test the email delivery, please switch to the second "Email Test" tab within the WP Mail SMTP settings interface.
When there, just enter the desired recipient email address into the "Send To" field and click on the "Send Email" button.
When this is done, you will receive a success notification, and you can go ahead and check the mailbox of the corresponding email account.
In case, the SMTP configuration was done correctly, you will find the confirmation email message within your mailbox. It should look similar to the screenshot example below.
With this done, you are all set!
Congratulations! You have just learned how to configure your WordPress website to send emails over the SMTP protocol and ensure your outbound emails will be successfully delivered. We hope our instructions were clear enough and easy to follow. In case you have experienced any sort of difficulties, please provide our Technical Support team with your SMTP details over a ticket request, and they will handle the configuration for you.
Sebahat is a young and bright woman who has become an invaluable part of our team. She started as a Customer Care Representative, mastering that role and, along the way, growing into a tech-savvy individual who is well acquainted with every support layer of the company. Driven by her aim to improve our customers’ experience constantly, she is committed to enhancing the extraordinary support we deliver.