First, log in your Wordpress admin dashboard.
Once logged in, hover over Plugins and click on Add New. On this page, enter WP Mail SMTP into the search field and press the Enter key.
You should now see a list of your search results. As you have searched for the exact file name, the WP Mail SMTP plugin should be the first result. To install it, click Install Now.
WordPress will now handle the download and installation of the WP Mail SMTP plugin for you. Once complete, be sure to click Activate Plugin to activate it.
Now that you have installed the WP Mail SMTP plugin, you will just now need to configure it. In the following steps, we will be configuring the SMTP settings for the WP Mail SMTP plugin.
On the left side navigation menu of your WordPress admin dashboard, hover over Settings and click on Email.
Next, scroll down to the SMTP Options section.
Within the SMTP Options section, set Authentication to Yes.
Next up is the Username and Password fields. In these fields, enter the email address that you will be sending from within the Username field, as well as the password for that account within the Password field.
PLEASE NOTE - you must authenticate locally and cannot use a 3rd party email server.
PLEASE NOTE - you should try without SSL first, as your servername will need to match the servers hostname and primary SSL, you can configure this later once you get regular SMTP working
Now that you have entered the proper authentication information, click the Save Changes button.
If you want to test your settings, you may go to the Send a Test Email section and enter an email address that you want to send to, then click the Send Test button.
Congratulations! You have now configured WordPress to use SMTP authentication when sending mail on the server.