Blog / Blog, WordPress

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

Microsoft 365 turns off SMTP Basic Auth: keep your WordPress emails working by sending through Microsoft 365 with OAuth 2.0 and Microsoft Graph

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.

What Microsoft is changing

Microsoft published the current timeline in the Exchange Team blog post Updated Exchange Online SMTP AUTH Basic Authentication Deprecation Timeline:

  • 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, 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

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

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 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 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 is the free plugin that does the same for Gmail.

Want to leave a comment?

PublishedTuesday, December 1, 2026

CategoriesBlog, WordPress

Still Have Questions?
Still Have Questions

Looking for more information? Feel free to reach out anytime.

Subscribe to Web357 Newsletter
Subscribe to Web357 Newsletter

Get updates for new releases, product updates & special offers!

We care about your data. Read our privacy policy