Exchange Connection Problems

How to Fix Thunderbird SMTP Login Failure with Office 365

Chanuka GeekiyanageChanuka Geekiyanage Oct 23, 2026 869 views

Question details

The user is unable to send emails via Thunderbird using an Office 365 account due to SMTP login failures.

Product
Mozilla Thunderbird / Office 365
Device & OS
not provided
Scenario
Sending emails through smtp.office365.com using port 587, STARTTLS, and OAuth2 authentication.
Observed behavior
Thunderbird fails to authenticate and send mail despite having the correct server and OAuth2 configurations set up.
Before you start

Ensure you have your correct Office 365 account credentials and that your organization's IT policy allows third-party email clients. Verify that your internet connection is stable and not blocking SMTP port 587.

Solution 1Recommended

Verify Server Settings and OAuth2 Authentication

Double-check that your SMTP settings exactly match Microsoft's requirements for Office 365 and force a new OAuth2 token prompt.

Office 365 requires strict adherence to its security protocols. Even a minor misconfiguration in the outgoing server settings can cause the login to fail. Resetting the OAuth2 token can also resolve hidden authentication glitches.

1
Open Account Settings

In Thunderbird, go to Tools > Account Settings and select Outgoing Server (SMTP) at the bottom of the left pane.

2
Check Server Details

Select your Office 365 SMTP server and click Edit. Ensure the server name is strictly smtp.office365.com and the port is set to 587.

3
Verify Security and Authentication

Set Connection security to STARTTLS and the Authentication method to OAuth2. Ensure your username is your full email address.

4
Clear Saved Passwords

Go to Settings > Privacy & Security > Saved Passwords. Search for your Office 365 SMTP entries and remove them to force a fresh login prompt on your next send attempt.

Verify Server Settings and OAuth2 Authentication
Admin Permissions: If these settings are correct but sending still fails, your Microsoft 365 administrator may need to explicitly enable 'Authenticated SMTP' for your specific user account in the Microsoft 365 Admin Center.
Free Microsoft Office alternative

Looking for a reliable Office suite? Try WPS Office

If you are experiencing persistent issues with Microsoft Office 365 services and subscriptions, consider switching to WPS Office. It provides a lightweight, comprehensive suite of tools that are highly compatible with Microsoft formats, without the complex setup hurdles.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installer for your operating system.
  2. 2. Install the Suite: Run the installer and follow the simple on-screen instructions to set up WPS Office on your device.
  3. 3. Open and Edit Files: Launch WPS Office to seamlessly open, edit, and save your existing Microsoft Office documents without formatting issues.
Highly compatible with Microsoft Word, Excel, and PowerPoint formatsFree and lightweight alternative to Microsoft Office 365Familiar user interface for a seamless and quick transitionBuilt-in PDF editing, cloud collaboration, and advanced productivity tools
microsoft office alternative - wps office

Frequently Asked Questions

Why does Office 365 block Thunderbird SMTP?

Microsoft periodically updates its security policies. If your organization disables 'Authenticated SMTP' or enforces strict modern authentication policies, Thunderbird might be blocked unless OAuth2 is properly configured and Authenticated SMTP is enabled in the Microsoft 365 admin center.

Does Thunderbird fully support OAuth2 for Office 365?

Yes, modern versions of Thunderbird fully support OAuth2 for Microsoft 365 accounts. Ensure you are running the latest version of Thunderbird and have selected 'OAuth2' as your authentication method in both your IMAP and SMTP settings.

How do I enable Authenticated SMTP in Office 365?

An IT administrator must log into the Microsoft 365 Admin Center, go to Active users, select the specific user account, click on the Mail tab, and check 'Manage email apps' to ensure that the 'Authenticated SMTP' option is enabled.