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.
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.
- 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.
Before getting started, make sure to install and activate WP Mail SMTP on your WordPress site and verify your 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.
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.
Under the Mailer section, select 365 / Outlook as your mailer option,
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.
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.
Next, scroll to the bottom of the page and click the Save Settings button.
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.
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.
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.
You’ll also notice the email you’ve set up with is now listed within the Authorization section.
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.
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.
After that, you’ll need to reconnect your account by clicking the Sign in with Microsoft button.
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? Be sure to check our guide for a detailed walkthrough on setting up an additional connection.