Attachment Issues

Why Exchange Message Size Changes After Content Conversion

Camila MilosovichCamila Milosovich Nov 14, 2026 868 views

Question details

Understand why a message with a 9 MB attachment can exceed a 25 MB Exchange Online limit after conversion but succeed on another attempt.

Product
Exchange Online and Exchange Server 2010
Device & OS
not provided
Scenario
A message travels through a hybrid Exchange environment with an attachment and is subject to a 25 MB message size limit.
Observed behavior
The message sometimes exceeds the limit after processing, while a similar attempt may be delivered successfully.
Before you start

Collect the complete non-delivery report (NDR), the approximate send times, sender and recipient addresses, and any available message identifiers for both attempts. Map the mail route between Exchange 2010 and Exchange Online, including any third-party gateways or services.

Solution 1Recommended

Compare message sizes and trace the hybrid mail flow

Use the failed and successful attempts to identify where the message grew or which limit rejected it.

Attachment size is not the same as total message size. MIME encoding, headers, the message body, conversion, and transport processing can increase the size; third-party services may also change the message.

A 9 MB attachment alone does not explain a message exceeding 25 MB. Compare the actual messages and routes before attributing the rejection to encoding or conversion.

1
Read the complete NDR

Open the failed delivery notification and review the diagnostic details, reported message size, rejecting server, and any size-limit error. Record the message identifier and timestamp.

2
Check the delivered message

Ask the recipient to inspect the size of the successful message in their mail client, and compare it with the size reported in the NDR. Note any differences in attachments or message content.

3
Run an Exchange Online trace

In the Exchange admin center, open Mail flow > Message trace. Search by sender, recipient, and send time for both attempts, then review the trace details for delivery and rejection events.

4
Review the on-premises route

On Exchange Server 2010, use the Exchange Management Shell Get-MessageTrackingLog cmdlet to search the relevant time window and follow the message through the on-premises servers. Compare that route with the Exchange Online trace.

5
Check gateways and limits

Review the configuration and logs of each transport agent or third-party gateway in the route. Also check the applicable organization, connector, and recipient message size limits at the point identified by the NDR or trace.

Different outcomes need comparison: A successful retry does not by itself identify the cause. Differences in message content, processing, routing, or the limit applied at a particular hop may account for the outcome.
Free Microsoft Office alternative

Prepare Shareable Office Files With WPS Office

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations in a familiar interface. Its Microsoft Office format support helps you move existing files seamlessly, although it does not fix Exchange mail-flow or message-size limits.

Prepare document attachments for sharing with recipientsCompatible with Microsoft Office formats such as DOCX, XLSX, and PPTXFamiliar interface for working with existing Office filesFree and lightweight office suite
QA img-9

Frequently Asked Questions

Why is the message larger than its attachment?

The total includes the message body, headers, and encoded attachments. MIME encoding and subsequent transport or gateway processing can also increase the size.

Does a 9 MB attachment automatically exceed a 25 MB limit?

No. A 9 MB attachment alone does not establish that the complete message exceeds 25 MB. Check the size reported in the NDR and compare the content and processing of both attempts.

Where can I trace the failed message in Exchange Online?

Open the Exchange admin center and go to Mail flow > Message trace. Search using the sender, recipient, and approximate send time, then inspect the trace details.

Could a third-party gateway change the message size?

Yes. A gateway or transport agent may alter a message during processing. Review its logs and configuration alongside the NDR and message trace to determine whether it handled the message.