Setting Up the Outlook Mailer

In this tutorial, we’ll cover how to use the Outlook mailer with Easy WP SMTP.

Requirements: Your site needs to have a valid SSL (HTTPS) certificate enabled. Please see WPBeginner’s tutorial for adding SSL and HTTPS in WordPress.


Before getting started, you’ll need to ensure Easy WP SMTP is installed and activated on your WordPress site.

1. Getting Started With Easy WP SMTP

Once you’ve installed and activated Easy WP SMTP, go to Easy WP SMTP » Settings to access the settings page.

Easy WP SMTP Plugin settings

Under the Settings tab, you’ll find the Mailer Settings section. We’ll cover how to complete the configurations below.

Mailer Settings

Select Outlook as the mailer to use for the Easy WP SMTP configuration.

Outlook mailer

After choosing the Outlook mailer, you’ll see a new section with additional settings.

Outlook mailer settings

You’ll need to set up your Microsoft account to get the information needed to complete the configuration. Leave this browser tab open and proceed to the next step.

2. Setting Up a Microsoft Azure Account

To get started, you’ll need to sign up for a free Microsoft Azure account if you don’t have one already.

Note: Although creating an account is free, you’ll need to enter your credit card details when signing up for a Microsoft account. This helps to prevent spam registrations.

If you already have a Microsoft account (through Microsoft 365, Outlook, Live, etc.), simply log in to Microsoft Azure using your existing account details.

You should be automatically redirected to the Azure portal after logging in to your account.

Creating an Application ID

In the Azure portal, locate the search bar and type app registrations.

Azure portal search bar

After that, select App registrations from the available options in the dropdown.

Select app registrations

On the App registrations page, select the + New registration option.

Register a new application

In the app registration form, you’ll need to enter a name for your application and choose the account types that can access your application.

Since the application is for internal use only, you can use any name. But we recommend using a descriptive name to help you differentiate your apps.

Enter app name

Under Supported account types, choose Accounts in any organizational directory (Any Azure AD directory – Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox).

Choose supported account types

Note: For some Microsoft account types, you may only see the Accounts in any organizational directory and personal Microsoft accounts option. Choose this option if the Accounts in any organizational directory (Any Azure AD directory – Multitenant) option doesn’t appear for your account type.

In the Redirect URI section, choose Web from the Select a platform dropdown.

Select the web platform

You’ll need to copy the Redirect URI from your Easy WP SMTP settings page. To do this, return to the browser tab with your Easy WP SMTP settings open. Then click the copy icon next to the Redirect URI field to copy the value.

Copy redirect URI

After that, paste the Redirect URI into the corresponding field of your Microsoft Azure app registration page.

Enter redirect URI

Once you’re done, go ahead and click Register to proceed.

Click register to proceed

You should be redirected to your account overview page. Here, you’ll see your Application (client) ID. Go ahead and click the copy icon to copy this value.

Copy application ID

After copying the Application (client) ID, head back to the Easy WP SMTP browser tab and paste the value into the Application ID field.

Enter application ID

Creating an Application Password

To generate a password for your application, return to the browser tab with the Azure portal open. Next, click on Certificate & secrets in the left sidebar.

Select certificates and secrets

Next, click the + New client secret button to create your application password.

New client secret

In the overlay that appears, enter a name in the Description field. We recommend using a simple and descriptive name. After that, choose 730 days (24 months) in the Expires dropdown.

Configure client secret options

When you’re ready, click Add to generate your client secret.

Click add to continue

Now, you’ll need to copy the password in the Value column and then return to the browser tab with Easy WP SMTP settings open.

Copy application password value

Note: You won’t be able to access the client secret once you exit this page. Be sure to store the password in a secure location in case you need to access it later.

In the Outlook mailer settings, paste the app password you copied into the Application Password field.

Enter application password

After adding the Application ID and Application Password, skip the General Settings for now and click on Save Settings to save your changes.

Click save settings button

3. Authorizing Easy WP SMTP

After saving your settings, you should see a button labeled Allow plugin to send emails using your Microsoft account in the Authorization section. Click on this button to authorize your site.

Allow plugin to send emails using your Microsoft account

You’ll be redirected to a Microsoft permissions page. Click Yes to grant your website access to your Microsoft account.

Grant Microsoft access to your site

After granting the necessary permissions, you’ll be redirected back to your Easy WP SMTP settings page. You should see a notification that you’ve successfully linked your Microsoft account.

Success Notification

In the Authorization section, you’ll see the name and email address you used to authorize the connection.

Authorized Microsoft account

4. Configuring Easy WP SMTP Settings

From Email

The From Email refers to the email address from which your WordPress site sends emails. It should be the same as the email address you used to authorize your connection, which can be found in the Authorization section of your settings.

Authorized Email

We also recommend checking the Force From Email box. This ensures the From Email you set is used sitewide.

Enter From Email

Note: If you’d like to send emails as a different user, group, or from a shared inbox, consider checking out our FAQ section to learn more.

From Name

The Outlook mailer doesn’t support changing or forcing the From Name. Your emails will be sent with the account name used to authorize the connection.

From Name

Backup Connection

Configuring a Backup Connection is an optional step in your Outlook mailer setup. However, to further improve email deliverability, we recommend configuring an additional connection to serve as a backup in case your Primary Connection fails.

Backup Connection

Note: If you’d like to learn how to send emails through different connections based on specific rules, please refer to our Smart Routing tutorial.

Once you’re done configuring the general settings, be sure to click Save Settings to save your changes.

Save Settings

Frequently Asked Questions

These are answers to some of the top questions we receive about integrating Easy WP SMTP with the Outlook mailer.

Does the Outlook mailer support sending as a different user, group, or shared inbox?

Yes. With the Outlook mailer, you can send emails from different user accounts, shared inboxes, and groups. However, you’ll need to enable this option in the Microsoft account you used to authorize Easy WP SMTP.

The following Microsoft documentation explains how to configure these different sending options:

After setting up the email aliases, you’ll be able to change the From Email to any of the email addresses you’ve added to your authorized Microsoft account.

Will I need to reconnect if I change my credentials?

Yes. Your account will be invalidated if you change your password. To fix this issue, you’ll need to re-authorize your Easy WP SMTP connection.

For this, go to your Easy WP SMTP settings page and scroll down to the Outlook mailer section. Next, disconnect your account by clicking the Remove OAuth Connection button in the Authorization section.

Remove oauth connection

After removing the existing connection, you’ll need to reconnect your account by clicking the Allow plugin to send emails using your Microsoft account button.

Allow plugin to send emails using your Microsoft account

Does enabling Two Factor Authentication / Multi Factor Authentication (2FA / MFA) on my Microsoft account work with the Outlook mailer?

It shouldn’t be an issue if you already have 2FA / MFA enabled before completing the steps in this tutorial.

However, if you enabled 2FA / MFA after setting up the Outlook mailer on your website, you’ll need to re-authorize your Microsoft account. Please see the authorization section of this guide to learn how.

That’s it! Now you know how to set up Easy WP SMTP with the Outlook mailer.