### [Microsoft 365 / Outlook.com One-Click Setup](https://wpmailsmtp.com/docs/microsoft-365-outlook-com-one-click-setup/)

**Published:** December 9, 2024
**Author:** David Ozokoye

**Excerpt:** Learn how to easily setup the Outlook mailer using one-click authentication.

**Content:**

Looking for a simple way to configure the Microsoft 365 / Outlook.com mailer in WP Mail SMTP? Our One-Click Setup feature offers a secure and efficient way to fix your website’s email delivery issues without any complex setup.

This guide will walk you through the steps to quickly configure the Outlook mailer in WP Mail SMTP.

- [Configuring the WP Mail SMTP Plugin](#installation)
- [Activating One-Click Setup](#one-click-setup)
- [Authorizing WP Mail SMTP With Your Microsoft Account](#authorize)
- [Frequently Asked Questions](#faq)

### Requirements:

- This mailer requires your site to have SSL (https) enabled. For setup details, please see [WPBeginner’s guide to adding SSL and HTTPS in WordPress](https://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/).
- The One-Click Setup feature for this mailer is only available with WP Mail SMTP version 4.3 or higher and requires a [Pro license or higher](https://wpmailsmtp.com/pricing/).

---

Before getting started, make sure to [install and activate WP Mail SMTP](https://wpmailsmtp.com/docs/how-to-install-the-wp-mail-smtp-plugin/) on your WordPress site and [verify your license](https://wpmailsmtp.com/docs/how-to-verify-your-wp-mail-smtp-license/).

## Configuring the WP Mail SMTP Plugin

Once you’ve installed and activated the plugin, go to **WP Mail SMTP » Settings** and select the **General** tab.

![WP Mail SMTP settings](https://wpmailsmtp.com/wp-content/uploads/2024/12/general-tab.png "wp-mail-smtp-settings - WP Mail SMTP")Then, scroll down and enter your email address in the **From Email** field. This email address should ideally be the same as the Microsoft account you want to authenticate.

![Enter From Email address](https://wpmailsmtp.com/wp-content/uploads/2024/12/from-email.png)Under the **Mailer** section, select **365 / Outlook** as your mailer option,

![Select Outlook mailer](https://wpmailsmtp.com/wp-content/uploads/2024/12/select-outlook-mailer.png "select-google-mailer - WP Mail SMTP")**Note**: If you prefer or require a custom setup, WP Mail SMTP also supports configuring a custom Microsoft app. To learn more, please refer to our guide on [setting up the Outlook mailer in WP Mail SMTP](https://wpmailsmtp.com/docs/how-to-set-up-the-outlook-mailer-in-wp-mail-smtp/ "Microsoft 365 / Outlook.com").

## Activating One-Click Setup

After selecting 365 / Outlook as your mailer, you’ll see the **One-Click Setup** option. To proceed, you’ll need to turn this toggle to the **ON** position.

![Toggle on the One-Click Setup option for the Outlook mailer](https://wpmailsmtp.com/wp-content/uploads/2024/12/enable-one-click-setup.png "one-click-setup-gmail-mailer - WP Mail SMTP")Next, scroll to the bottom of the page and click the **Save Settings** button.

![Save Settings button](https://wpmailsmtp.com/wp-content/uploads/2024/12/save-settings.png "save-settings-gmail-mailer-one-click-setup - WP Mail SMTP")The page will now refresh to show you the new authorization options.

## Authorizing WP Mail SMTP With Your Microsoft Account

After the page has been refreshed, scroll down to the **Authorization** section and click the **Sign in with Microsoft** button.

![Sign in with Microsoft](https://wpmailsmtp.com/wp-content/uploads/2024/12/sign-in-with-microsoft.png "sign-in-with-google-button - WP Mail SMTP")This will direct you to Microsoft’s account login page. Go ahead and log in to the account you’re setting up this mailer with.

**Note:** You’ll need to log in to the account specified in your **From Email** address. Otherwise, the connection won’t work, and you’ll likely encounter the ‘Invalid state’ error.

Then, when prompted by Microsoft, click the **Accept** button to allow WP Mail SMTP access to your Microsoft account.

![Authorize Microsoft account](https://wpmailsmtp.com/wp-content/uploads/2024/12/accept-permission.png)You’ll then be redirected back to the WP Mail SMTP settings page, where a confirmation message will appear, indicating that you’ve successfully connected your Microsoft account.

![Outlook mailer connection successful message](https://wpmailsmtp.com/wp-content/uploads/2024/12/connection-successful.png "success-message-gmail-mailer - WP Mail SMTP")You’ll also notice the email you’ve set up with is now listed within the **Authorization** section.

![Authorized Microsoft email address](https://wpmailsmtp.com/wp-content/uploads/2024/12/authorized-email.png "authorized-email-name-gmail - WP Mail SMTP")## Frequently Asked Questions

These are some of the top questions we receive about using the One-Click setup for the Outlook mailer.

#### Why has my site stopped sending emails?

This issue usually arises due to an expired Outlook connection or an expired WP Mail SMTP license.

To address this, first, ensure you have an active subscription plan with WP Mail SMTP. If your license has expired, you’ll need to [renew it](https://wpmailsmtp.com/docs/how-to-renew-your-wp-mail-smtp-license/).

Then, navigate to **WP Mail SMTP » Settings** and click on the **Reconnect** button. This action will renew your connection with Microsoft, ensuring uninterrupted email delivery.

#### 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 WP Mail SMTP connection.

For this, go to your WP Mail SMTP settings page and scroll down to the 365 / Outlook mailer section. Next, you’ll need to disconnect your account. To do so, click the **Remove OAuth Connection** button in the **Authorization** section.

![Remove OAuth connection](https://wpmailsmtp.com/wp-content/uploads/2024/12/remove-oauth-connection.png "remove-oauth-connection-2 - WP Mail SMTP")After that, you’ll need to reconnect your account by clicking the **Sign in with Microsoft** button.

![Sign in with Microsoft](https://wpmailsmtp.com/wp-content/uploads/2024/12/sign-in-with-microsoft.png "authorize-wp-mail-smtp-google-mailer-1 - WP Mail SMTP")

#### Can I use the 365 / Outlook mailer if I have 2-factor authentication (2FA) enabled on my Microsoft account?

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 to do it.

That’s it! You’ve successfully set up the Outlook mailer with the One-Click Setup feature in WP Mail SMTP.

Next, would you like to have multiple connections that can serve as a [backup mailer in WP Mail SMTP](https://wpmailsmtp.com/docs/configuring-backup-connection/ "Configuring a Backup Connection")? Be sure to check our guide for a detailed walkthrough on [setting up an additional connection](https://wpmailsmtp.com/docs/configuring-additional-connections/ "Configuring Additional Connections").

**Categories:** Mailers

---

