Tutorials • WordPress
Setting up the contact form via SMTP in WordPress
Configure the contact form in WordPress via SMTP with this simple guide. Follow the steps for installing and setting up the WP Mail SMTP plugin.
5
Views 5332Updated 3 luniPublished on 01/10/2019by Cătălin Adrian
Introduction
This tutorial explains how to install and configure a mail plugin using the SMTP protocol in WordPress.
Requirements
- A valid hosting account and domain.
- The WordPress application installed on hosting and access to the administration panel.
- A mail account created in cPanel.
Steps to Follow
- Access the WordPress admin panel and navigate to the Plugins section, then select Add New.
- In the search field in the top right corner, enter the desired plugin name, in this case "WP Mail SMTP by WPForms".
- From the list of results, find the plugin and click the Install Now button.
- Once activated, access the plugin settings by clicking on Settings in the plugin section.
Configuring the SMTP plugin
- In the settings page, fill in the following fields:
- From Email: Enter the email address created on hosting.
- Check the Force From Email option if you want all emails to be sent from this address.
- From Name: Enter the sender's name that will appear in the emails.
- Check the Force From Name option to ignore other settings and use this name in all emails.
- Check the Return Path option to receive reports on undelivered emails.
- In the Mailer section, select the Other SMTP option.
- Configure the SMTP fields:
- SMTP Host: Enter the name of the mail server, for example: mail.yourdomain.com.
- Encryption: Select the TSL protocol.
- SMTP Port: Fill in with 587.
- Authentication: Set to ON.
- SMTP Username: Enter the full email address, for example: name@domain.com.
- SMTP Password: Enter the password corresponding to the email address.
- Click the Save Settings button to save the configurations.
Testing the SMTP configuration
- Access the Email Test section at the top of the settings page.
- In the Send To field, enter the email address to which you want to send a test email.
- Press the Send Email button to perform the test.
- Check the specified email address to confirm the receipt of the test message.
After completing the steps above, the SMTP plugin setup is finished. If you encounter issues, please check the settings again or contact the Hostico technical support team for further assistance.