This tutorial will provide the steps for configuring the mail service of your Drupal website with SMTP. This is the best setup as it will ensure that your system emails are being sent out without any issues.
Log into your cPanel account and locate the Email section. Тhen simply click on Email Accounts.
Enter the following details:
Click on the Create Account button to complete the changes.
Drupal requires the use of an additional module in order to be configured with SMTP. The SMTP Drupal module is available via the official website of the script, within the modules section. The download link for Drupal 7.x is available at the bottom of the page.
Once you download the module on your local computer, you need to install it on your Drupal website. First you need to log into your website as administrator and then click on the Modules tab at the main menu.
Click on the Install new module button at the top of the page.
Upload the module via one of the following two options:
Click on the Install button to complete the process.
Access the Modules tab from the main menu again and check the Enabled box next to the SMTP Authentication Support.
Scroll down to the bottom and click on the Save configuration button. Once the module is installed and activated, it is time to set the actual SMTP configuration on your Drupal website.
Access the Modules tab from the main menu again and locate the SMTP Authentication Support module. Then click on the Configure button next to it.
Edit the following options:
Click on the Save configuration button to keep the changes. You have successfully configured SMTP for your Drupal based website.