Configuring Microsoft as Your Mail Service Provider: A Step-by-Step Guide

thumb_up 1  ·  sell Microsoft mail service provider setup, Configuring Microsoft for email services, Setting up Microsoft as your email provider

WHMCS can send emails without any additional configuration usingPHP mail(). While this works in most cases, other mail providers may give you a better experience and access to additional features.

In addition to the existing SMTP support, WHMCS 8.0 added support for Mailgun, SendGrid, SparkPost, and Google OAuth with SMTP. WHMCS 8.6 and later also include Microsoft services as separate mail provider options. For more information, see:

  • Configuring WHMCS to use SMTP for WHMCS 8+
  • Configuring WHMCS to use Other Mail Providers
  • Setting Up Google As Your Mail Service Provider
  • Mail Provider Integrations

Set Up Microsoft in WHMCS

To configure Microsoft, you will need to create an app in the Microsoft Azure® console and configure the mail provider in the Mail tab at Configuration > System Settings > General Settings. You must also set Friendly URLs in the General tab at Configuration > System Settings > General Settings to Full Friendly Rewrite or Friendly index.php.

To configure Microsoft on your WHMCS installation:

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

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

a7a21362-6ba1-4c83-9021-25e17ff48700.png

3. Select Microsoft for Mail Provider.

64f51f95-8fd7-4027-886f-5e128d2657ef.png

4. Click the Copy icon next to Redirect URL.

5. Use this URL to create the necessary Microsoft Azure app. For instructions, see Create your Microsoft Azure Application below.

6. After you create your Microsoft Azure app, copy-and-paste the Application (client) ID and Client Secret from the Microsoft Azure console into the appropriate text boxes.

7. Click Connect. (Connection Token will be blank until you do this.)

If you have multiple Microsoft accounts, the system may prompt you to choose the correct account. If you see this prompt, log in to the email account from which WHMCS will send emails to clients.

75e47d87-ec82-4aff-bddf-2f224b92c5bc.png

After you complete the necessary prompts, a success message will display and WHMCS will automatically enter a token in Connection Token.

8. Click Save. The system will test your configuration again when you save.

Make certain to set your From Email address to the Microsoft mail account that you are using. Microsoft services may not accept email from a different identity.

Create Your Microsoft Azure Application

To use Microsoft as your service provider, you will need to create an app. This will let you connect to Microsoft via WHMCS. If you have already used the Microsoft Azure console, you may not need to perform some of these steps, or interfaces may not look like the screenshots below.

To do this:

1. Go to the Microsoft Azure Portal and log in to your existing account or create a new one.

2. Go to Azure Active Directory.

28ed239b-4114-4b49-a96b-51d6e535ec16.png

3. Choose App registrations in the left-side menu and click New registration.

34125451-dd71-431f-b8f4-748c6e0f80c0.png

4. Enter a name for your application.

6081ba2b-f411-4e9b-bf54-c24ee5dd1314.png

5. For Supported account types, select Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox).

cdd57b2b-78e2-4f0c-8cd6-4ca8f0626a37.png

6. For Redirect URI, select Web and use the Redirect URL value from WHMCS.

11e5a149-0bc7-44f3-be4e-d3c3698a2f55.png

7. Save the application.

8. Copy and store the Application (client) ID value.

Application (client) ID

9. Click Add a certificate or secret next to Client credentials.

10. Enter a description and choose a validity length.

When the validity period expires, you must create a new client secret and repeat the steps to configure Microsoft in WHMCS.

94c12099-d1d4-4919-b3d4-0b88b3812b4a.png

11. Copy and store the Client Secret Value.

Client secret Value

You cannot retrieve the client secret again.

Use these values to complete configuration in WHMCS.

 
 
The End! should you have any inquiries, we encourage you to reach out to the Vercaa Support Center without hesitation.

Was this answer helpful?

Related Articles

description

Step-by-Step Guide to Installing WHMCS

To start using WHMCS, you will need to install it on your server. You may need help from your hosting provider or system administrator…

arrow_forward
description

Configuring cPanel Site Software for WHMCS Integration: A How-To Guide

You can install WHMCS using cPanel's Site Software feature. Before you can perform the installation, a WHM user must enable WHMCS…

arrow_forward
description

Effortless WHMCS Installation Using cPanel Site Software: A Step-by-Step Tutorial

You can install WHMCS easily using cPanel's Site Software feature. To do this: 1. If you have not already done so, configure…

arrow_forward
description

Configuring WHMCS Cron Jobs: Step-by-Step Setup Guide

You will need to configure the cron job as soon as you finish installing WHMCS. The cron job executes WHMCS's automation tasks,…

arrow_forward
description

Customizing the WHMCS Cron Schedule: Configuration Guide

The WHMCS cron job performs many of the automated tasks for your WHMCS installation. You can customize when and how often it runs…

arrow_forward
arrow_back « Back