logo
search
Exchange Connection Problems

How to Change the Exchange Online SMTP Timeout for Large Messages

Olivia MillerOlivia Miller Oct 15, 2026 869 views

Question details

The user needs to increase or configure the SMTP timeout setting in Exchange Online when sending large messages with attachments to a third-party server.

How to Change the Exchange Online SMTP Timeout
Product
Exchange Online
Device & OS
not provided
Scenario
Sending large messages containing images or attachments to a third-party SMTP server.
Observed behavior
Exchange Online times out and disconnects before receiving delivery confirmation, causing it to retry delivery even if the partner server already accepted the message.
Before you start

Ensure you have Microsoft 365 Administrator privileges, as investigating and resolving backend SMTP timeout issues requires access to the Exchange admin center and the ability to open support tickets.

Solution 1Recommended

Run an Extended Message Trace and Contact Microsoft Support

Since the SMTP timeout is not a user-configurable setting, administrators must investigate the issue using a message trace and open a service request with Microsoft.

Microsoft restricts direct access to SMTP timeout configurations in Exchange Online to maintain server performance and security. Therefore, the timeout threshold for third-party connections is not exposed in the Microsoft 365 admin center or the Exchange admin center.

To resolve ongoing timeout issues with specific partner servers, administrators must capture diagnostic data about the delivery failures and provide it to Microsoft Support for a backend resolution.

1
Log in to the Admin Center

Sign in to the Microsoft 365 admin center using your global or exchange administrator credentials.

2
Perform an Extended Message Trace

Navigate to the Exchange admin center, access the 'Mail flow' section, and run an 'Extended message trace'. This will capture detailed logs of the delivery attempts and connection drops involving the third-party SMTP server.

3
Open a Service Request

Return to the Microsoft 365 admin center, navigate to the Support menu, and create a new service request. Attach the extended message trace results to help the support team investigate.

4
Contact Global Support

Alternatively, you can call Microsoft Support directly using the official global customer service phone numbers for your region to expedite the request.

Run an Extended Message Trace and Contact Microsoft Support
Duplicate Deliveries: Because Exchange disconnects before receiving confirmation, it assumes the message failed and will retry delivery. This is why the recipient's third-party server might receive duplicate messages.
Free Microsoft Office alternative

Need to Create Smaller Attachments? Try WPS Office

While Exchange Online manages your backend email delivery, handling large attachments can still be a challenge. WPS Office is a seamless, lightweight alternative to Microsoft Office that includes built-in PDF compression and efficient file formats, reducing the chance of email timeouts.

  1. 1. Download the Installer: Visit the official WPS Office website and click the Free Download button.
  2. 2. Install WPS Office: Run the downloaded setup file and follow the quick on-screen instructions to install the suite.
  3. 3. Compress and Send: Open your large documents, use the built-in file compression or PDF export tools, and attach the smaller files to your emails without worrying about SMTP timeouts.
Completely free, lightweight, and fast document creationFully compatible with Microsoft Word, Excel, and PowerPoint formatsBuilt-in PDF editing and file compression tools to reduce attachment sizesFamiliar user interface with zero learning curve for Office users
microsoft office alternative - wps office

Frequently Asked Questions

Can I manually change the SMTP timeout limit in Microsoft 365?

No. The SMTP timeout threshold for third-party connections is not exposed as a configurable setting in the Microsoft 365 admin center or the Exchange admin center.

Why does Exchange Online send duplicate messages to a partner server?

If the connection drops or times out before Exchange receives a successful delivery confirmation, it assumes the email was not delivered. It will then retry sending the message, even if the partner server had already accepted the initial payload.

What is an extended message trace used for?

An extended message trace provides in-depth diagnostic logs about routing and message delivery attempts. Microsoft Support uses these detailed logs to investigate and resolve underlying server communication or timeout issues.