Guides & TutorialsSystem SettingsMailConfiguring WHMCS to Use SMTP for WHMCS 8+

Configuring WHMCS to Use SMTP for WHMCS 8+

WHMCS can send emails without any additional configuration using PHP mail(). However, other mail providers may give you a better experience and access to additional features.

In WHMCS 8.0 and later, this includes Mailgun, SendGrid, SparkPost, and SMTP with or without Google. WHMCS 8.6 added support for Microsoft services. For more information, see:

Configure SMTP

To configure SMTP:

1. Go to the Mail tab at Configuration > System Settings > General Settings.

2. Next to Mail Provider, click Configure Mail Provider.

3. In the new window, specify the SMTP settings that you got from your hosting or email provider.

Make certain that you enter SMTP Port and SMTP SSL Type correctly. Incorrect settings can prevent WHMCS from sending mail.

If you choose Google as your service provider and Oauth as your SMTP authentication type, use the steps in Setting Up Google As Your Mail Service Provider to finish configuring your mail provider.

 

4. Click Test Configuration at the bottom to make sure that you entered everything correctly.

5. When you see a success message, click Save Changes.

Creating a SMTP Account in cPanel to use for Mail

To create an SMTP email account using the cPanel control panel:

1. Log in to your cPanel account.

2. Go to Home >> Email >> Email Accounts.

3. Click Create.

4. Enter the desired configuration for the new email account.

5. Find the new address in the list of email accounts.

6. Click Manage and then click Connect Devices in the right-side column.

7. Copy the information under Mail Client Manual Settings. You will use these details to configure the SMTP email account in WHMCS.

We recommend using the Secure SSL/TLS Settings.