Guides & TutorialsSystem Settings MailConfiguring WHMCS to use SMTP in WHMCS 7

Configuring WHMCS to use SMTP in WHMCS 7

WHMCS comes with the ability to send emails out of the box, without any additional configuration, using the PHP mail() function. While this works in most cases, the best method to reliably send mail is by using SMTP.

Navigate to Setup > General Settings > Mail Tab

Change the Mail Type dropdown to SMTP. Specify the SMTP settings obtained from your Web Host/Email Host. Please be sure to pay special attention to the SMTP Port and SMTP SSL Type. Having these settings incorrect will prevent mail from sending in WHMCS.

Click Save Changes. Your mail should now be sent out via SMTP.

Creating a SMTP Account in cPanel to use for Mailing

Login to your cPanel account.

Navigate to Email Accounts

Create a new email account by filling out the form appropriately:

Once you have successfully created the new email account, you should see it in the list of Email Accounts. Within this list, choose the Setup Mail Client option for the account you just created:

On the next page, you will see all of your information under the Mail Client Manual Settings heading. In this example, we will follow the Secure SSL/TLS Settings (Recommended). As you can see from the image below, these are the settings we used to configure the SMTP settings in WHMCS:

Troubleshooting SMTP Issues

For additional help troubleshooting SMTP settings, please refer to our Troubleshooting Email Sending Problems Guide.