There are many WordPress plugins that help you to integrate an SMTP service into your WordPress website. Some of them are listed below, and for this article, we’ll explain about the WP Mail SMTP plugin.
Installing the WP Mail SMTP plugin
To install the plugin, there is the same process as for any 3rd-party plugin.
Refer to this article regarding the plugins installation.
Configuring the plugin
To add the SMTP details into the plugin:
1. From the left WordPress menu, go to Settings > Email.
2. Fill in the form with the necessary information.
From Email – Email address you want to send emails from – firstname.lastname@example.org, for example.
From Name – Name that your emails will be received from.
Mailer – Choose whether you want to use the default mail function or the SMTP.
Return Path – Check if you want to match the return path for your emails to the sending email.
SMTP Host – Hostname for your SMTP server.
SMTP Port – Port your server works on.
Encryption – If you have SSL/TLS encryption available for that hostname, select it here.
Authentication – Check if your SMTP server requires authentication.
Username – Username for your SMTP server.
Password – Password for your SMTP server.
3. Click on the Save Changes button.
Testing the Plugin
If you want to test your settings, you can 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.
Now WordPress is configured to work with your SMTP server.