✨ Up to
-70%
on the 1st year
Days
Hours
Minutes
Seconds

Set Up Outlook and Hotmail as SMTP on WordPress Using WPMasterToolKit

Introduction

Outlook (Microsoft 365) is one of the most widely used and reliable email services on the market. However, connecting WordPress to Outlook can quickly become technical: creating an Azure application, OAuth configuration, login management, API permissions...

To simplify set-up, WPMasterToolKit integrates a native Outlook provider in its SMTP Mailerwith a clear, secure approach that's fully integrated with WordPress.

In this article, we will look at step by step how to configure Outlook with WPMasterToolKit, based on official Microsoft logic and best practices used by professional SMTP plugins.

Why use Outlook with WPMasterToolKit?

Configuring Outlook as an SMTP sending service allows you to :

  • Guarantee excellent email deliverability
  • Avoid emails blocked or classified as spam
  • Use modern, secure authentication (OAuth 2.0)
  • No longer dependent on the PHP function mail() your accommodation

With WPMasterToolKitthis configuration is natively integratedwith no external dependencies or craft configurations.

For a personal Outlook.com or Hotmail account, the SMTP server is smtp-mail.outlook.com, using port 587 and STARTTLS encryption. Modern OAuth2 authentication is required.
For a Microsoft 365 work email address, use smtp.office365.com, port 587, with STARTTLS. Depending on your organization's settings, SMTP authentication may need to be enabled for the specific mailbox.
The guide below explains how to configure OAuth for the Outlook provider in WPMasterToolKit. These server settings are useful for manual SMTP configuration; do not confuse them with the OAuth configuration steps.

Before you start

Before configuring Outlook in WPMasterToolKit, make sure you have :

  • An Outlook / Microsoft 365 account
  • Access to Microsoft Azure Portal
  • A WordPress site with WPMasterToolKit activated
  • From the PRO version of WPMasterToolKit (the Outlook provider is a PRO feature)
Outlook configuration selected in an SMTP provider panel

Setting up a Microsoft Azure account

To continue the configuration process, you need a Microsoft Azure account. If you need to create a new account, click on this link to sign up for a new account. free Microsoft Azure account.

Although creating an account is free, you will be asked to enter your credit card details when registering for a Microsoft account. This step helps prevent fraudulent registrations.

Note: you may be required to subscribe to the Pay-as-you-go before being able to create applications in the Azure portal.

Since you most likely already have a Microsoft email account (via Hotmail, Live, Outlook, Microsoft 365, etc.), you can simply connect to Microsoft Azure with your existing login.

Note: the email address used for your Azure account must be a Microsoft address and have permission to send emails.

Once your account has been created and verified, you will need to open the Azure Portal if you're not automatically redirected there.

Create an Application ID

In the Azure Portalenter App registrations in the search bar at the top of the page.

Search for «app registration» in the Microsoft Azure portal

Next, you'll see a drop-down menu displaying a list of services. Click on App registrations.

Search for «Azure app registration» with the result "App registrations"

Top of the page App registrationsyou must select the + New registration.

"New Registration" button in Azure App Registrations

Note: if you see the error message :
The ability to create applications outside of a directory has been deprecated,
this means that you have not yet finalized your Azure registration. You need to register and verify your Azure account to create and register an application.

In the application registration form, here is the information you need to enter:

  • Name This name is for your internal organization only. We recommend that you give it a name such as :
    "SMTP Mailer.
  • Supported account types : select Accounts in any organizational directory and personal Microsoft accounts.
    Microsoft Entra Form for the SMTP Mailer Application
  • Redirect URI For the first drop-down menu, leave the value Web.
    For the second field, you must copy this value from the WP Mail SMTP (see below).

Note: for certain types of Microsoft account, you may only see the option Accounts in any organizational directory (Any Azure AD - Multitenant).
In this case, select this option if Accounts in any organizational directory and personal Microsoft accounts does not appear for your account type.

To find the Redirect URIthen return to the tab or window where you left the parameters open. WPMasterToolKit of your site.
In the Outlook / 365you will see a field entitled Redirect URI.

Configuring Outlook with a WordPress Redirect URI

You need to copy this value, then paste it into the registration form of your Microsoft Azure application.
Please keep both windows/tabs open in your browser, as we will continue to navigate between them.

Microsoft Form with WordPress Redirect URI

Once you're ready, click on the Register to continue.

Note: after registering your application, be sure to check the parameters Supported account types and Redirect URIavailable in the Authentication.
If these settings are incorrect, you will most likely encounter problems during authorization.

Once this registration form has been submitted, you will be redirected to the Overview.
You'll find your Application (customer) ID. Copy this value.

Azure SMTP Mailer page with client ID to copy

Once you have copied theApplication (customer) IDyou need to paste this complete value into the WPMasterToolKitin the field entitled Application ID.

Configuring Outlook with OAuth fields in an administration panel

Create an Application Password

Next, we need to generate a password for this application.
To do so, go to Manage > Certificates & Secrets via the left sidebar, inside the application you've just registered.

Azure menu highlighting Certificates and Secrets

Note: you need to be in the directory of the application you've created to see the Certificates & secrets.
You can access this page by going to App registrationsthen select the name of the application you've registered.

On this screen, click on the + New client secret.

Azure Portal displaying the "New Client Secret" button

A modal window will appear. You will be asked to fill in a short form:

  • Description Please note: this name is for your personal use only. We recommend that you use a simple, logical name, such as my password.
  • Expires : 730 days (24 months).
Azure Window: Adding an SMTP Mailer Client Secret

Once the secret shopper validated, theApplication Password will be generated.
Copy the password from the Value (and not in the Secret ID), then return to the WP Mail SMTP.

Azure client secret with a copy icon

Please note: you will no longer be able to access the Value once you've left this page.
We recommend that you keep this value in a safe place in case you need to use it again.

Once back in the tab or window where your settings are still open, paste this value into the Application Password.

Configuring Outlook with a Selected Password Field

Parameter storage and authorization

Once you have added your Application ID and your Application Passwordclick on the Save Settings at the bottom of the page.

Outlook Setup Form with a Blue Save Button

Once you've saved your settings, scroll down the page to the Authorization.
You should now see a button labeled Confirm Authorization. Click on this button.

Configuring Outlook with an Authorization Confirmation Button

Once you've clicked on this button, you should be redirected to a Microsoft authorization form.

Microsoft screen requesting permissions to access an email account

At the bottom of this form, click on Yes.

You will then be redirected to the WPMasterToolKit.

Finally, you can test whether everything is working by using WPMTK's test function:

Email Test Form with a "Send Now" Button
Discover the module :
Free
App icons next to a digital trash can.
Starter
3.50$
/Month
Business
6.70$
/Month
Freelance
11.00$
/Month
Agency
28.00$
/Month

Conclusion

Setting up Outlook with WordPress can seem complex at first, especially when you have to go through Azure, OAuth and Microsoft authorization management. However, as you've seen in this article, WPMasterToolKit transforms this technical process into a clear, structured and secure configuration.perfectly in line with Microsoft's official recommendations.

Thanks to the SMTP Mailer module's native Outlook provider, you benefit from a reliable, modern and professional emailingwithout relying on the limitations of your hosting or multiplying the number of third-party plugins. Once the Azure application has been correctly configured and authorization validated, your WordPress site is ready to send transactional emails with excellent deliverability.

All that's left is to make a test email from WPMasterToolKit to confirm that everything's working properly, and then take advantage of a robust, future-proof delivery infrastructure for all your WordPress notifications.

👉 If you're looking for a powerful, integrated SMTP solution designed for demanding sites, WPMasterToolKit PRO + Outlook is a particularly effective duo.