Why Exchange Message Size Changes After Content Conversion
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.
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.
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.
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.
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.
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.
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.
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.
Reduce the message size for a retry
Use this workaround when the recipient needs the content while the size discrepancy is being investigated.
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.

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.




