Microsoft 365 is disabling password SMTP: what WordPress sites must do before end of 2026

Something in the WordPress mail flow stopped. The contact form used to fire and doesn’t now. A client asked whether that “Microsoft is turning off password SMTP” story making the rounds is going to break the site. Or the mailer plugin’s debug log carries one of these:

535 5.7.139 Authentication unsuccessful, basic authentication is disabled
550 5.7.30 Basic authentication is not supported for Client Submission

Microsoft is switching off SMTP AUTH Basic Authentication in Exchange Online. On existing tenants the default flips off at the end of December 2026; on new tenants created after that date it will be unavailable by default. WordPress sites that authenticate to Microsoft 365 with a mailbox address and a password sit on the affected path. The path out depends on which plugin and connection type the site is using.

The timeline

  • January 27, 2026. The Exchange Team blog published the current timeline. The dates below supersede earlier revisions.
  • End of December 2026. SMTP AUTH Basic Authentication becomes disabled by default on existing Exchange Online tenants. Administrators will still be able to enable it.
  • New tenants created after December 2026. SMTP AUTH Basic Authentication will be unavailable by default; OAuth is the supported authentication method from day one.
  • Second half of 2027. Microsoft will announce the final removal date. Once Basic Authentication is permanently disabled, neither an administrator nor Microsoft Support can re-enable it.

What a 5.7.30 or 5.7.139 error tells you

550 5.7.30 Basic authentication is not supported for Client Submission is the response Microsoft documents for a password login to smtp.office365.com or smtp-legacy.office365.com once Basic Authentication is permanently disabled. That is the last step of the timeline, and it has no date yet. Gmail uses 550 5.7.30 for a failed DKIM check, so read the text after the code.

535 5.7.139 Authentication unsuccessful is what users have posted from tenants where the login is refused today: SmtpClientAuthentication is disabled for the Mailbox when SMTP AUTH is off, or basic authentication is disabled. Security defaults and an authentication policy that disables Basic Authentication for SMTP can each refuse the login now, whatever the SMTP AUTH setting on the mailbox says (Microsoft Learn). Microsoft’s timeline does not say which response a password login gets when the default flips in December.

Either way the message was refused before it left, so contact-form notifications, WooCommerce order receipts and password resets stop arriving. If the site’s SMTP settings hold smtp.office365.com with a mailbox address and password, pick a migration path below.

If you think you might be affected but aren’t

Two configurations look like the target cohort in a panic search and aren’t.

M365 SMTP relay via connector. The site sends over port 25 to <tenant>-com.mail.protection.outlook.com, and a receive connector on the tenant recognises the site’s public IP. That path does not use SMTP AUTH; the retirement does not apply. It carries its own separate constraints, though.

Direct Send. The site posts to the tenant’s MX endpoint with no authentication, and the sender address belongs to the tenant’s own domain. The SMTP AUTH retirement does not apply, but Microsoft documents Direct Send as rejecting mail to recipients outside the tenant, so it cannot carry password resets to Gmail or Yahoo users. A tenant with Reject Direct Send on refuses the internal mail too, with 550 5.7.68; Microsoft is rolling that out as the default for new tenants, with no way to turn it off. The Direct Send spoke carries the full picture; sites that email any volume of users outside the tenant need a different flow regardless of what happens in December.

Pick your migration path

Every migration ends at one of two places: OAuth against the same M365 tenant, or a purpose-built transactional provider. Pick the spoke that names the current stack.

Identify your stack

Three questions land the reader on the right spoke. Answer them in order.

1. Is WordPress sending mail through Microsoft 365 at all? In the WordPress admin, open the SMTP plugin’s settings and look at the SMTP Host field. If it contains office365.com, outlook.com, or mail.protection.outlook.com, the answer is yes. If it contains a purpose-built provider (smtp.sendgrid.net, email-smtp.*.amazonaws.com, smtp.mailgun.org, smtp.postmarkapp.com), the SMTP AUTH retirement does not touch this site. If nothing SMTP-shaped is set, WordPress is calling PHP’s mail() function directly and the retirement does not apply. Not sure whether the domain itself sits on M365? Run the DNS auth checker against the domain. An MX record ending in mail.protection.outlook.com places the mailboxes on Microsoft 365, but WordPress can still send via a different provider than the mailbox host, so the SMTP Host field is the deciding signal.

2. Which SMTP plugin (if any) is doing the sending? Plugins → Installed Plugins in the WordPress admin lists them by name. WP Mail SMTP, FluentSMTP, and Post SMTP are the three the migration spokes above cover directly. Easy WP SMTP and SMTP Mailer both accept a Microsoft SMTP host and mailbox credentials. If one of them is configured for SMTP authentication with those credentials, use the WP Mail SMTP spoke as the closest match. Gmail SMTP sends only through Gmail and WP Offload SES only through the Amazon SES API, so the retirement does not touch the mail they send. No mailer plugin installed at all, but SMTP credentials sit in wp-config.php or an mu-plugin? The wp-config spoke covers that case.

3. Password authentication, or OAuth? In WP Mail SMTP, “Other SMTP” mailer with the SMTP Password field populated is password auth; the “Outlook” mailer (Pro only, with your own app or One-Click Setup) is OAuth. In FluentSMTP, a “Generic SMTP” connection with an Auth Type of User/Password is password auth; the “Office 365” driver is OAuth. In Post SMTP, the “Other SMTP” type with a password is password auth; the “Microsoft 365” connection (Pro) is OAuth. Password-auth combinations pick the migration spoke above. OAuth combinations remain on the OAuth setup guide and are not touched by this retirement.

Once the three questions are answered, the spoke above with the matching plugin name is the migration path. The WordPress SMTP with Microsoft 365 setup guide carries the full plugin-choice table for readers who want to see every combination side by side.

If your WordPress site also crosses Gmail or Yahoo’s bulk-sender thresholds

A site sending above 5,000 messages a day to Gmail addresses, or matching Yahoo volume on an unpublished threshold, picks up a second set of requirements that stand independent of this retirement: SPF and DKIM both present, DMARC at p=none minimum, and one-click unsubscribe on marketing and newsletter mail. OAuth migration solves the SMTP AUTH problem; it does not satisfy any of these. Sites running MailPoet, FluentCRM, or a transactional ESP alongside the mailer plugin usually sit in both cohorts. The Gmail and Yahoo bulk-sender rules for WordPress pillar covers the four requirements as WordPress operator work, and the WordPress bulk-sender authentication checklist walks the SPF, DKIM, and DMARC configuration per plugin and per sending provider.

Changelog

  • 2026-08-02. Hub published. Reflects Microsoft’s January 27, 2026 revised timeline; the 2027 removal-date announcement is pending, verified: re-review triggers on that announcement.
  • 2026-08-02 (revision). Identify-your-stack section rewritten as a self-contained three-question triage (Am I on M365? Which plugin? Password or OAuth?) rather than a forward-reference to a diagnostic tool. The tool remains a candidate for a later revision; the triage stands on its own for now.
  • 2026-10-02. Direct Send paragraph now names the external-recipient rejection and routes to the Direct Send spoke. Added the Gmail / Yahoo bulk-sender cross-link section and two related-coverage entries. Pricing and Direct Send Microsoft Learn page re-verified: Basic $7, Standard $14, EO Plan 1 $4 still current; Direct Send still documented as internal-recipients-only.
Corrections
  • 2026-11-26: an earlier version called Post SMTP’s password option the “SMTP” transport. Post SMTP labels it “Other SMTP”.
  • 2026-11-25: an earlier version, including its 2026-10-19 correction, said WP Mail SMTP’s One-Click uses WP Mail SMTP’s own app. Its One-Click documentation describes sign-in and an access request to WP Mail SMTP, but does not identify who owns the app registration.
  • 2026-11-25: an earlier version said a site was on the retirement timeline from the moment 550 5.7.30 appeared. Microsoft documents it as the response to a password login once Basic Authentication is permanently disabled, a date it has not announced. It also listed smtp-mail.outlook.com, which Microsoft’s notice does not name, and gave a scope (tenant or mailbox) for enabling Basic Authentication again that Microsoft does not state.
  • 2026-11-25: an earlier version said any mailer plugin other than the three named either uses SMTP AUTH or is OAuth-only, and listed Gmail SMTP and WP Offload SES. Gmail SMTP sends only through Gmail and WP Offload SES only through the Amazon SES API, so neither sends through Microsoft 365.
  • 2026-10-19: an earlier version called WP Mail SMTP’s One-Click a Microsoft app and named Post SMTP’s OAuth transport “Outlook OAuth2”; Post SMTP 4.0.2 labels it “Microsoft 365” and puts it in the Pro extension.