AI Summary
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.
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?
- Microsoft's Updated SMTP AUTH Timeline
- How To Fix Outlook Basic Authentication Error
- Short-Term Workaround for Microsoft 365 Admins
- Why Is Microsoft Retiring Basic Authentication?
- What Is Modern Authentication?
- Alternatives to Microsoft Email Services
- Troubleshooting the 365 / Outlook Mailer
- FAQs — Microsoft Deprecating Basic Authentication
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.
To check, make sure 365 / Outlook is selected and connected under 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:
| Date | What happens | Who it affects |
|---|---|---|
| September 16, 2024 | Basic auth ended for personal Outlook.com accounts | Outlook.com and Hotmail users |
| Until end of December 2026 | No change to SMTP AUTH Basic auth | Existing Microsoft 365 tenants |
| End of December 2026 | Basic auth for SMTP AUTH turns off by default. Admins can turn it back on | Existing Microsoft 365 tenants |
| After December 2026 | Basic auth isn’t available by default. OAuth is the supported method | New Microsoft 365 tenants |
| Second half of 2027 | Microsoft announces the final removal date | Everyone still on Basic auth |


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.


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.


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.


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.


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


Under Mailer, select 365 / Outlook.


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.


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.


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


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


Step 5: Send a Test Email
Go to WP Mail SMTP » Tools and open the Email Test tab.


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
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.
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.
