clement

550 5.0.350: Generic rejection from the recipient's server (Microsoft 365)

Microsoft 365 wrapped a rejection from the recipient's mail system in a catch-all code. The real reason is in the diagnostic text of the bounce.

Bounce type
Hard bounce (permanent)
What to do
Depends on the text
Returned by
Microsoft (Outlook.com, Microsoft 365)

What 550 5.0.350 means

Microsoft documents 5.0.350 as 'a generic wrapper that's used by Exchange Online for a wide variety of non-specific errors that are typically returned by the recipient's email organization.' Your Microsoft 365 mailbox handed the message to the recipient's server, that server said no, and Microsoft reported it under this code.

So 5.0.350 on its own tells you almost nothing. Open the bounce and find the 'Diagnostic information for administrators' section: it contains the original reply from the remote server, often with its own code such as 550 5.7.1 or 550 5.1.1. That inner code is the one to look up.

Microsoft names two specific forms. 'x-dg-ref header is too long' comes from Rich Text (TNEF) formatted messages that carry nested attached emails. 'Requested action not taken: policy violation detected (AS345)' means an attachment contains 20 or more embedded files.

What the bounce looks like

The wording providers document for this code. Your bounce may add an IP address, a session ID or a help link after it.

Microsoft
550 5.0.350 x-dg-ref header is too long
Microsoft
550 5.0.350 Requested action not taken: policy violation detected (AS345)

Why cold emailers see 550 5.0.350

  • The recipient's spam filter or gateway (Mimecast, Proofpoint, Barracuda, a custom server) rejected the message and Microsoft passed on a generic code.
  • The recipient's server rejected the address or the domain for its own reasons, which you'll only see in the diagnostic text.
  • A message sent from Outlook in Rich Text Format with attached emails ('x-dg-ref header is too long').
  • An attachment with 20 or more embedded files (AS345). Rare in cold email, which shouldn't carry attachments at all.

How to fix 550 5.0.350

  1. Read the 'Diagnostic information for administrators' section of the bounce and look up the inner code with the SMTP error code lookup.
  2. If the inner reply is a spam or reputation block, treat it like that code: slow down, check that SPF, DKIM and DMARC pass, and remove links and attachments from the first touch.
  3. For 'x-dg-ref header is too long', switch Outlook to HTML formatting instead of Rich Text and resend.
  4. For AS345, remove embedded files from the attachment, or better, send a link instead of an attachment.
  5. If there's no inner reply at all, the problem sits with the recipient's mail system. Reach the person another way rather than resending the same message.

Retry or suppress?

It depends on the inner reply. If the remote server said the address doesn't exist, suppress it. If it was a spam, policy or formatting rejection, keep the contact and fix what was rejected first.

Reading the code

The basic code 550 means "Mailbox unavailable or message refused (permanent)" under RFC 5321. In 5.0.350, the 5 is the class (permanent failure) and the 0 is the subject (other or undefined). The detail number 350 isn't in the RFC 3463 / IANA registry; it's specific to the provider, so the text after the code carries the meaning.

Class 5
Permanent failure
Resending the same message won't work. Something about the message, the recipient or the sender has to change first.
Subject 0
Other or undefined
No more specific category is available.
Detail 5.0.350
Provider-specific

Check the rest of your setup

Paste the headers of a message that did get through into the email header analyzer to confirm SPF, DKIM and DMARC pass, and check your domain with the SPF, DKIM & DMARC checker. The deliverability checklist covers the rest of a healthy sending setup.

Got a different bounce? Paste it into the SMTP error code lookup to decode it.

FAQ

Is 550 5.0.350 a hard bounce or a soft bounce?

550 5.0.350 is a permanent failure (a hard bounce): the receiving server won't accept this message if you send it again unchanged. But the cause is not the recipient's address, so treat it differently from a 'user unknown' bounce.

Should I remove the contact after a 550 5.0.350 bounce?

Not automatically. It depends on the inner reply. If the remote server said the address doesn't exist, suppress it. If it was a spam, policy or formatting rejection, keep the contact and fix what was rejected first.

What does 5.0.350 mean in the error code?

In 5.0.350, the 5 is the class (permanent failure) and the 0 is the subject (other or undefined). The detail number 350 isn't in the RFC 3463 / IANA registry; it's specific to the provider, so the text after the code carries the meaning.

Related SMTP codes

See all SMTP error codes

Sources

Try Clement free for 14 days

Clement reads the bounces that land in your Gmail and SMTP inboxes and tells dead addresses apart from policy blocks: it suppresses the first across every campaign and keeps the contact on the second, so you don't have to decode bounces by hand.

Start free trial