Exchange Connection Problems

How to Fix Gmail Bounces When Sending from an Office 365 Address

Khadija KhanKhadija Khan Nov 4, 2026 868 views

Question details

The user is trying to send emails through Gmail using an Office 365 email address but is encountering bounce-backs and authentication errors despite the credentials working fine in Outlook.

How to Fix Gmail Bounces When Sending from an Office 365 Address
Product
Microsoft Office 365
Device & OS
not provided
Scenario
Setting up an Office 365 email address as a 'Send mail as' alias within the Gmail web interface.
Observed behavior
Messages sent from the Office 365 alias in Gmail bounce with an SMTP authentication error or TLS certificate mismatch, preventing outgoing mail delivery.
Before you start

Ensure you have the correct Office 365 email address and password by testing them in Outlook on the web first. You may also need to contact your IT administrator if Microsoft 365 tenant security policies are blocking third-party SMTP access.

Solution 1Recommended

Configure the Correct SMTP Server and TLS Settings in Gmail

Use Microsoft's official SMTP server address and standard encryption settings to prevent TLS certificate mismatches and authenticate properly.

A common mistake when setting up Office 365 inside Gmail is using the SMTP server address returned by a ping command. This often results in a TLS certificate mismatch because the regional server's name does not match the SSL certificate. Always use the standard Office 365 SMTP endpoint.

1
Verify credentials online

Navigate to outlook.office.com in your web browser and sign in to confirm your username and password are correct.

2
Access Gmail alias settings

Log into your Gmail account, click the gear icon to access Settings, select 'See all settings', and navigate to the 'Accounts and Import' tab. Under 'Send mail as', click 'Edit info' next to your Office 365 address.

3
Update SMTP configuration

In the pop-up window, enter 'smtp.office365.com' as the SMTP Server. Select Port 587 from the dropdown menu.

4
Authenticate and secure the connection

Input your full Office 365 email address as the Username and type your confirmed password. Ensure the 'Secured connection using TLS' option is selected, then click 'Save Changes'.

Configure the Correct SMTP Server and TLS Settings in Gmail
App Passwords: If your Office 365 account has Multi-Factor Authentication (MFA) enabled, you must generate and use an App Password instead of your regular password for the SMTP setup.
Free Microsoft Office alternative

Experience a Seamless Office Workflow with WPS Office

While troubleshooting Microsoft Exchange connection errors can be frustrating, managing your documents doesn't have to be. If you are looking for a reliable, offline-capable productivity suite, WPS Office serves as a highly compatible, free, and lightweight alternative to Microsoft Office.

  1. 1. Download the software: Visit the official WPS Office website to download the free installation package for your PC or Mac.
  2. 2. Open existing files directly: Launch WPS Office and immediately open your existing .docx, .xlsx, or .pptx files without worrying about format distortion.
  3. 3. Enjoy seamless productivity: Utilize the all-in-one tabbed interface to manage documents, spreadsheets, and presentations in a single unified window.
Completely free to use with a lightweight installation package.Highly compatible with Microsoft Word, Excel, and PowerPoint file formats.Integrated PDF reader and editor to streamline your workflow.User-friendly interface allowing seamless migration from other office suites.
microsoft office alternative - wps office

Frequently Asked Questions

Why does pinging the Office 365 SMTP server cause a TLS mismatch in Gmail?

When you ping smtp.office365.com, it resolves to a specific regional backend server. If you use that specific IP or regional hostname in Gmail instead of 'smtp.office365.com', the SSL certificate will not match the domain name, triggering a TLS mismatch error.

Why am I getting an authentication error if my password is correct?

Microsoft defaults to disabling SMTP Authentication (SMTP AUTH) for security reasons. Even if your password is correct, Gmail cannot authenticate to send emails until your Microsoft 365 administrator manually enables SMTP AUTH for your account.

Can I use port 465 for Office 365 SMTP connections?

No. Microsoft 365 officially requires Port 587 using the STARTTLS encryption method for client SMTP submissions. Port 465 is generally not supported for this configuration.