Outlook SMTP Stopped Working? How To Fix Basic Authentication Error

Outlook SMTP Stopped Working? How To Fix Basic Authentication Error

Summarize:ChatGPTPerplexity

Is Outlook SMTP failing with a “basic authentication is disabled” error? That means Microsoft blocked your password login.

Microsoft is retiring Basic authentication (a plain username and password) for SMTP. Sites that send with Outlook or Microsoft 365 passwords are the ones that break.

In this guide, I’ll cover Microsoft’s new timeline and how to fix the error in WordPress.

TLDR;

Short answer: Stop sending with your Microsoft password. In WP Mail SMTP, switch to the 365 / Outlook mailer with One-Click Setup. It signs in with OAuth and sends through Microsoft’s API. The Basic auth shutdown doesn’t affect it.

Existing Microsoft 365 tenants lose SMTP AUTH Basic auth by default at the end of December 2026. Personal Outlook.com and Hotmail accounts lost Basic auth since September 16, 2024.

Get Microsoft One-Click Setup

How To Fix Basic Authentication Error for Microsoft Email Accounts

To fix the basic authentication error, replace password-based SMTP with Modern authentication (OAuth 2.0). In WordPress, you need an SMTP plugin that connects to Microsoft with OAuth. WP Mail SMTP’s 365 / Outlook mailer does this. Your site then never sends your Microsoft password.

Is My Outlook or Microsoft 365 / Office 365 Email Account Affected?

You’re likely affected if your site logs in to Microsoft with an email address and password.

In WP Mail SMTP, that’s the Other SMTP mailer with smtp.office365.com or smtp-mail.outlook.com as the host. Printers, scanners, and other devices that send mail this way are affected too.

When Microsoft blocks the login, your emails won’t send. You’ll see an error like one of these:

535 5.7.139 Authentication unsuccessful, basic authentication is disabled.
535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant.
535 5.7.139 Authentication unsuccessful, user is locked by your organization's security defaults policy.
550 5.7.30 Basic authentication is not supported for Client Submission.

Here’s what each one means:

  • basic authentication is disabled: Basic auth is blocked for this mailbox or organization.
  • SmtpClientAuthentication is disabled for the Tenant: SMTP AUTH is switched off for the whole organization.
  • security defaults policy: Your tenant uses Microsoft’s security defaults, which turn off SMTP AUTH.
  • 550 5.7.30: Microsoft rejected a Basic auth login on SMTP AUTH. This is the code Microsoft names in its own retirement notice.

All four have the same lasting fix: switch to OAuth.

Note: Already using the 365 / Outlook mailer in WP Mail SMTP? Good news. You’re already on Modern authentication and don’t need to change anything.

To check, make sure 365 / Outlook is selected and connected under WP Mail SMTP » Settings:

365 / Outlook mailer selected in WP Mail SMTP settings

Using Other SMTP with your Outlook password? Then switch to the 365 / Outlook mailer. Do it before the end of December 2026 to avoid a sudden outage.

Microsoft’s Updated SMTP AUTH Timeline

Microsoft changed its plans on January 27, 2026. It replaced the old plan to reject Basic auth from March 1 to April 30, 2026.

Here are the dated milestones from Microsoft:

DateWhat happensWho it affects
September 16, 2024Basic auth ended for personal Outlook.com accountsOutlook.com and Hotmail users
Until end of December 2026No change to SMTP AUTH Basic authExisting Microsoft 365 tenants
End of December 2026Basic auth for SMTP AUTH turns off by default. Admins can turn it back onExisting Microsoft 365 tenants
After December 2026Basic auth isn’t available by default. OAuth is the supported methodNew Microsoft 365 tenants
Second half of 2027Microsoft announces the final removal dateEveryone still on Basic auth
Microsoft SMTP AUTH basic authentication deprecation timeline

You can read the full details in Microsoft’s updated SMTP AUTH timeline announcement.

Something to keep in mind is that only Basic auth is going away. SMTP AUTH itself still works with OAuth.

How To Fix Outlook Basic Authentication Error

The fix is to use Modern authentication instead of your normal email password.

For a WordPress site, you need an SMTP plugin that connects to Microsoft with OAuth. In WP Mail SMTP, that’s the 365 / Outlook mailer.

This mailer doesn’t use SMTP AUTH at all. It sends through the Microsoft Graph API, so Microsoft’s SMTP AUTH changes don’t touch it.

Basic authentication SMTP vs OAuth with the 365 / Outlook mailer

Important: The 365 / Outlook mailer needs a paid WP Mail SMTP license (Pro or higher). One-Click Setup also needs version 4.3 or later. Your site needs HTTPS too. The Lite plugin doesn’t include this mailer.

Switch to the Outlook Mailer

Step 1: Install WP Mail SMTP Pro

If you want to use Microsoft Outlook OAuth in WordPress, you need WP Mail SMTP. It’s the best SMTP plugin for WordPress, making the whole process super easy.

The Outlook mailer is available with the paid version of WP Mail SMTP. To download WP Mail SMTP Pro, head to your WP Mail SMTP account.

After that, click on the Downloads tab and download the latest version to your desktop.

Download the WP Mail SMTP plugin

Next, open up your WordPress dashboard and upload the zip file to install the plugin.

If you need help with this part, jump over to this guide to installing a WordPress plugin.

Upload the WP Mail SMTP plugin to the plugins page

Once the plugin has been uploaded, hit Activate. This will start the WP Mail SMTP Setup Wizard in your browser.

Step 2: Select the 365 / Outlook Mailer

Go to WP Mail SMTP » Settings and stay on the General tab.

WP Mail SMTP settings page

In From Email, enter the Microsoft address you’ll sign in with. They need to match.

From email address

Under Mailer, select 365 / Outlook.

Select the Outlook mailer

Step 3: Turn On One-Click Setup

Turn on the One-Click Setup toggle. It lets you connect to Microsoft without creating your own app in Azure.

One-Click Setup toggle in the 365 / Outlook mailer

Scroll down and click Save Settings. The page reloads with the authorization options.

Our One-Click Setup guide covers each screen in more detail.

Step 4: Sign In With Microsoft

In the Authorization section, click Sign in with Microsoft.

Sign in with Microsoft

Log in with the account that matches your From Email. When Microsoft asks for permission, click Accept.

Accept permission

You’ll return to your settings. Your connected address shows under Authorization.

Microsoft permissions prompt for the WP Mail SMTP Outlook connection

Step 5: Send a Test Email

Go to WP Mail SMTP » Tools and open the Email Test tab.

Send a test email

Enter an address you can check in Send To, then click Send Email.

If the test arrives, you’re done. You can now switch off any old Other SMTP settings.

Short-Term Workaround for Microsoft 365 Admins

If you can’t switch yet, a Microsoft 365 admin can keep SMTP AUTH on for a mailbox. This only buys time until Microsoft’s final removal date.

Today, admins control SMTP AUTH per mailbox in the Microsoft 365 admin center. Go to Users » Active users and select the user. Then open Mail » Manage email apps and check Authenticated SMTP.

Admins can also use Exchange Online PowerShell:

Set-CASMailbox -Identity [email protected] -SmtpClientAuthenticationDisabled $false

Warning: Re-enabling Basic auth keeps a password login open on that mailbox. Microsoft recommends moving to OAuth as soon as you can.

Microsoft hasn’t yet named the exact switch for re-enabling Basic auth after December 2026. Also, personal Outlook.com and Hotmail accounts don’t have this option.

Why Is Microsoft Retiring Basic Authentication?

Basic authentication sends your username and password with every login. That makes stolen passwords easy to reuse, and it doesn’t work well with multi-factor authentication.

Microsoft started turning off Basic auth for most Exchange Online protocols in October 2022. SMTP AUTH was the one exception, because so many apps and devices still rely on it.

That exception is now ending, on the dated schedule above. You can see the background on Microsoft’s Basic authentication deprecation page.

What Is Modern Authentication?

Modern authentication is a safer way for apps to access your email. Instead of storing your password, the app gets a temporary key called a token.

It’s built on OAuth 2.0. You approve the app once, and it only gets the access you allowed, like sending email.

You can revoke the app’s access at any time from your Microsoft account. It also works with multi-factor authentication (MFA). Basic auth doesn’t handle MFA well.

Alternatives to Microsoft Email Services

Not everyone wants to send WordPress emails through a Microsoft mailbox. That’s fine.

Setting up the 365 / Outlook mailer manually means creating your own Azure app. Microsoft may ask for a credit card for that. One-Click Setup skips this step.

If you’re on the free version of WP Mail SMTP, you can pick a different mailer instead. Lite includes SendLayer, Brevo, SMTP.com, and more.

You can read our complete guide to WP Mail SMTP mailers to compare them and choose one.

Troubleshooting the 365 / Outlook Mailer

These are the issues people most often hit after switching.

“Invalid State” Error When Connecting

This means you signed in with a different Microsoft account than your From Email. Set From Email to the account you’ll log in with, save, and connect again.

Emails Stopped After a Password or MFA Change

Changing your Microsoft password or turning on MFA can expire the connection. Click Remove OAuth Connection, then sign in with Microsoft again.

“Action Required” Notice About Your License

One-Click Setup needs an active license. If your license expires, emails stop sending. Renew or verify your license, then click Reconnect.

MailboxNotEnabledForRESTAPI Error

Your account is on an on-premises Exchange Server, not a Microsoft 365 mailbox. The 365 / Outlook mailer needs a Microsoft 365 or Outlook.com mailbox. Use another mailer for this address.

Still Getting 535 5.7.139 Errors

Check that Mailer is set to 365 / Outlook, not Other SMTP. Then send a new test from WP Mail SMTP » Tools » Email Test.

FAQs — Microsoft Deprecating Basic Authentication

Here are the questions we hear most from users who can’t send with Outlook or Microsoft 365.

When does Microsoft turn off basic authentication for SMTP?

For existing Microsoft 365 tenants, it turns off by default at the end of December 2026. Admins can turn it back on for now. Microsoft will announce the final removal date in the second half of 2027.

What if my app or plugin doesn’t support Modern Authentication?

You’ll need to switch to one that does, or send through a different email service. In WordPress, WP Mail SMTP’s 365 / Outlook mailer connects with OAuth.

Can I still use my Outlook.com or Hotmail.com address to send emails from my WordPress site?

Yes, but only with Modern authentication. Microsoft ended Basic auth for personal Outlook.com accounts on September 16, 2024. Connect the account with the 365 / Outlook mailer instead of a password.

Can I still use my old printer or scanner to send emails with my Outlook account?

Only if it supports Modern authentication. Check your device’s manual or the maker’s website for an OAuth or firmware update. If it can’t be updated, point it at a different SMTP service.

Can I use my Outlook account with the free version of WP Mail SMTP?

Not with Modern authentication. The 365 / Outlook mailer needs any paid license. Other SMTP with your password already fails for personal accounts. It’ll fail for Microsoft 365 once your tenant turns Basic auth off.

Does the 365 / Outlook mailer use SMTP AUTH?

No. It signs in with OAuth and sends through the Microsoft Graph API. Microsoft’s SMTP AUTH changes don’t affect it.

Next, Compare Transactional Email Providers

If Outlook keeps causing trouble, a transactional email provider might suit your site better.

These services are built for sending email from apps and websites. They handle large volumes reliably.

Take a look at our guide to the best transactional email providers to find a good fit. Many offer free plans too.

Fix Your WordPress Emails Now

Ready to fix your emails? Get started today with the best WordPress SMTP plugin. If you don’t have the time to fix your emails, you can get full White Glove Setup assistance as an extra purchase, and there’s a 14-day money-back guarantee for all paid plans.

If this article helped you out, please follow us on Facebook and Twitter for more WordPress tips and tutorials.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPForms is funded, why it matters, and how you can support us.

Rachel Adnyana

Rachel has been writing about WordPress for a decade and building websites for much longer. Alongside web development, she's fascinated with the art and science of SEO and digital marketing. Learn More

Try our Free WP Mail SMTP plugin

Use your favorite SMTP provider to reliably send your WordPress emails.