# Microsoft 365 Turns Off SMTP Basic Auth: Keep Your WordPress Emails Working

> At the end of December 2026 Microsoft switches off SMTP basic authentication by default in existing Microsoft 365 tenants. If your WordPress site sends email through smtp.office365.com with a password, here is how to check and how to move it to OAuth 2.0.

- URL: https://www.web357.com/blog/microsoft-365-smtp-basic-auth-ends-keep-wordpress-emails-working
- Published: 2026-12-01
- Categories: [blog](https://www.web357.com/blog/category/blog), [wordpress](https://www.web357.com/blog/category/wordpress)
- Tags: [microsoft](https://www.web357.com/tag/microsoft), [outlook](https://www.web357.com/tag/outlook), [smtp](https://www.web357.com/tag/smtp), [oauth2](https://www.web357.com/tag/oauth2), [mail](https://www.web357.com/tag/mail), [wordpress-plugins](https://www.web357.com/tag/wordpress-plugins)
- Image: https://www.web357.com/content/images/microsoft-365-smtp-basic-auth-wordpress.jpg

Many WordPress sites send their email through a Microsoft 365 mailbox. The setup is usually the same: an SMTP plugin, the server `smtp.office365.com`, port 587, a username and a password.

That setup is running out of time. Microsoft is retiring **basic authentication for SMTP AUTH** in Exchange Online, which is exactly the "username and password" part. When it is off, your contact forms, WooCommerce order emails and password resets stop going out.

This post explains what changes, how to check whether your WordPress site is affected, and how to move to **OAuth 2.0** with [Microsoft 365 & Outlook Mailer](https://www.web357.com/microsoft-outlook-365-mail-connect-wordpress-plugin).

## What Microsoft is changing

Microsoft published the current timeline in the Exchange Team blog post [Updated Exchange Online SMTP AUTH Basic Authentication Deprecation Timeline](https://techcommunity.microsoft.com/blog/Exchange/updated-exchange-online-smtp-auth-basic-authentication-deprecation-timeline/4489835):

- **Until the end of December 2026:** nothing changes. SMTP with a password keeps working.
- **End of December 2026:** basic authentication for SMTP AUTH is **disabled by default for existing tenants**. An administrator can still turn it back on.
- **New tenants created after December 2026:** basic authentication is not available by default. OAuth is the supported method.
- **Second half of 2027:** Microsoft announces the final removal date.

So a Microsoft 365 admin can buy some time by switching it back on. But the direction is clear, and the final date is coming. A site that still logs in with a password will need to change at some point.

When basic authentication is refused, the SMTP server answers with this error:

`550 5.7.30 Basic authentication is not supported for Client Submission`

If you see it in your SMTP plugin's log or in [Email Activity Monitor](https://www.web357.com/email-activity-monitor-wordpress-plugin), this is the reason.

## Is your WordPress site affected?

WordPress has no SMTP settings of its own, so the answer is in the SMTP plugin you use.

1. Open the settings of your SMTP plugin.
2. Look at the server and the login.
3. If it connects to `smtp.office365.com` with a username and a password (not a "Sign in with Microsoft" button), your site uses basic authentication.

Sites that send through Google or another email service are not affected by this change.

## The fix: send through Microsoft Graph with OAuth 2.0

Microsoft 365 & Outlook Mailer stops using SMTP for Microsoft 365. It sends each email with the **Microsoft Graph API** and signs in with **OAuth 2.0**, the method Microsoft supports. No mailbox password is stored in WordPress, so the basic auth change does not affect it.

What you get, in the free version:

- ✅ Emails keep going out after basic authentication is switched off
- ✅ No mailbox password saved in WordPress
- ✅ The access token renews itself, so you sign in once
- ✅ A **Send Test Email** button to check the connection right away
- ✅ Every email that WordPress sends with `wp_mail()` goes through your mailbox: forms, WooCommerce, password resets

👉 [Read the setup guide](https://docs.web357.com/microsoft-outlook-365-mail-connect-wordpress-plugin/configuration/#step-1-create-an-azure-app-registration)

## How to set it up

The setup has two parts: an app registration in Microsoft Entra (the Azure portal), and the plugin settings in WordPress. It takes about as long as setting up SMTP did.

**1. Register an app in the Azure portal**

1. In the Azure portal, open **App registrations** and click **New registration**.
2. Give it a name and choose the supported account type.
3. Under **Redirect URI**, choose **Web** and paste the **Authorized Redirect URI** that the plugin shows you.
4. Open **Certificates & secrets**, click **New client secret** and copy its **Value**.

**2. Connect the plugin**

1. Go to **Settings → MS 365 Mail Connect**.
2. Enter the **Application ID** and the **Client Secret**, then save.
3. Click **Sign in with Microsoft** and accept the permissions with the mailbox that should send your site's email.
4. Enter your own address under **Send Test Email** and send a test.

When the test email arrives, you are done. Turn off your old SMTP plugin, so only one plugin handles your email.

## Sending from a shared mailbox (PRO)

Many sites send from an address nobody logs in to, such as `orders@yourshop.com`. With Microsoft 365 that is usually a **shared mailbox**.

With PRO, the plugin can send from a shared mailbox, or from another mailbox where the signed-in account has **Send As** permission. You enter it in the **From Email** field. With **Allowed 'From' Addresses** you can also let different plugins send from different addresses, for example a contact form from `info@` and WooCommerce from `orders@`.

👉 [Sending from a shared mailbox](https://docs.web357.com/microsoft-outlook-365-mail-connect-wordpress-plugin/guides/send-as-configuration/#sending-from-a-shared-mailbox)

## Free or PRO?

The **free** version on wordpress.org sends every WordPress email through Microsoft 365 with OAuth 2.0. That is all you need to get past the basic auth change.

[PRO](https://www.web357.com/microsoft-outlook-365-mail-connect-wordpress-plugin/pricing) adds:

- a mail log of the emails the plugin sent, with resend
- sending from a shared mailbox and a list of allowed sender addresses
- staging mode, to test forms without sending real emails
- a send limit per minute
- a BCC copy of every email and a default Reply-To address

## Keep a record of what your site sends

Changing how your site sends email is a good moment to start logging it. [Email Activity Monitor](https://www.web357.com/email-activity-monitor-wordpress-plugin) records every `wp_mail()` call, whichever plugin sends it, with the status and the error. Then, when a customer says "I never got the email", you can check in seconds.

## Do it before the default changes

You do not need to wait for the end of December. Set up OAuth 2.0 now, send a test email, and your WordPress site keeps sending when Microsoft switches basic authentication off.

If your business mail is on Google Workspace, [Gmail SMTP Connect](https://www.web357.com/gmail-smtp-connect-wordpress-plugin) is the free plugin that does the same for Gmail.

## Products in this post

- [Microsoft 365 & Outlook Mailer](https://www.web357.com/microsoft-outlook-365-mail-connect-wordpress-plugin): Send every WordPress email through your Microsoft 365 or Outlook mailbox with OAuth 2.0 and Microsoft Graph, so no SMTP password is stored on your site. ([pricing](https://www.web357.com/microsoft-outlook-365-mail-connect-wordpress-plugin/pricing), [documentation](https://docs.web357.com/microsoft-outlook-365-mail-connect-wordpress-plugin/intro/))

---

Part of [Web357](https://www.web357.com). Site map for agents: [llms.txt](https://www.web357.com/llms.txt), [llms-full.txt](https://www.web357.com/llms-full.txt). Documentation: https://docs.web357.com/. Support: https://www.web357.com/support. Append `.md` to any page URL on this site to read it as Markdown.
