Skip to content
Microsoft (Outlook.com and Microsoft 365) · permanent error

550 5.0.350: rich Text attachment makes a header too long

A message in Outlook's Rich Text format carried an attachment whose data ended up in a header line too long for the receiving server.

Microsoft
Provider
Permanent (5xx)
Class
Sources checked
Author

At a glance

Code
550 5.0.350
Temporary or permanent
PermanentRefused for good: the message comes back to the sender, and resending it gets the same answer.
Who has to act
The sender. The fix is on the sending side: your domain, your server or your list.
What the server says
550 5.0.350 x-dg-ref header is too long

What it means

Outlook's Rich Text format carries attachment data, as a binary large object, inside the X-MS-TNEF-Correlator header. With a large attachment, often an attached email that itself contains another attached email, that header line grows longer than the receiving server accepts, and it rejects the message. Exchange Online reports it as 550 5.0.350 with the remote reply x-dg-ref header is too long. Sending the message in HTML keeps the attachment out of the TNEF header.

Common causes

  • The message was composed in Rich Text format in Outlook.
  • It carried an attachment, often an email message with another message attached inside it.

How to fix it

  1. 01Switch the message format to HTML in Outlook and send it again.
  2. 02Make HTML the default format for new messages to avoid repeats.
  3. 03Admins can control TNEF use for external recipients in remote domain settings or on mail contacts and mail users.

Sources

What this page rests on, checked on 20 Oct 2026. The explanation is ours; the reply text is the server's.

  1. 550 5.0.350Generic error from the recipient's system.Exchange Online wraps an unspecific rejection from the recipient's mail system in 5.0.350; the real reason is in the original reply quoted in the report.MicrosoftPermanent

Further reading

All 111 Microsoft codesEvery code in the wikiPaste your own bounce

Beat · paid monitoring

A heartbeat for your email.

Beat runs every check on this site on a schedule: 41 checks, 33 blacklists and real inbox placement. The moment something breaks, it tells you what broke, why it matters, and the exact fix.

example.comWatching
  • SPFpass
  • DKIMpass
  • DMARCp=none
  • Blacklists0 of 33

Illustrative. Your domain, every few hours.

Also from us:Pulse: your own sending infrastructureConsulting: $65/hr, no retainer