SenderFix

550 5.7.350 “Remote server returned message detected as spam”: what to do

The short answer

You sent from Microsoft 365, and the person’s email system rejected your message as spam. Microsoft is passing that rejection back to you. The real reason is in the words after the arrow (->) in the bounce, written by the other side’s system. Read that part first, then check your domain’s settings and whether you’re on a blocklist.

Check your own email first. Free, about 90 seconds. You get a grade and a simple list of what's working and what isn't.

The message you’re seeing

550 5.7.350 Remote server returned message detected as spam -> 554 5.7.1 Message refused…

Two parts. Before the arrow is Microsoft saying “they turned it down”. After the arrow is the other side’s own reply. That second part names what they didn’t like, if anything. For example, a reply that mentions SURBL means a link in your email is on a list of websites linked from spam.

To: client@theirfirm.comfrom you@yourfirm.comReturnedREASON550 5.7.350Their system saidit looked like spam
A bounce means the other side refused the email, and the code on it tells you why. It’s fixable once you know which check it failed.

What to do

  1. Copy the text after the arrow. If it names a list or a rule, that’s your lead.
  2. Run the free check below. It shows whether your domain’s settings are right and whether your domain or the links in your email are on a blocklist.
  3. If one person bounces, try a short plain email to them with no links or attachments. If that gets through, something in the first email set off their filter.
  4. If it’s one person, ask them whether their IT can let your address through. Their email system refused it, so it usually takes their IT, not just a setting in their inbox.
  5. If many people bounce, fix what the free check finds before you send more.

Bounced by an Outlook.com, Hotmail or Live address instead, with a message that it lacks SPF/DKIM/DMARC? See Outlook’s “Message lacks SPF/DKIM/DMARC” bounce.

Not comfortable doing this yourself? Forward this page to whoever looks after your website. The section near the bottom is written for them, click by click. Or have us work it out: the Email Fix checks every tool you send from and emails you steps written for your exact setup.

What this guide can’t do for you

It covers the common causes. It can’t tell you which of your tools is the one that’s failing, or give you the exact settings for your business and the company that manages your domain. That’s what the Email Fix does. We check every tool that sends email for you and give you steps written for your setup. If we can't find a problem in your email settings, or the problem is in a tool no setting can fix, we'll tell you plainly. If you paid for a fix you didn't need, you get your money back. The guarantee covers your email settings. No settings can fix email sent to people who didn't ask for it, like bought lists or mass emails.

See what's included and the price

Free check

See what's wrong with your email, free

Type in your business's web address (the part after the @ in your email). You'll see what's working, what isn't, and what to do next.

Common questions

Is Microsoft blocking my email?

Not in this case. Microsoft passed it on, and the person's email system refused it. Microsoft is only passing the message back to you.

Why does it say 554 after the arrow?

That's the other side's own code. 554 5.7.1 means they refused the message. The words after it usually say why.

Will resending work?

Not the same email. Change what set it off (a link, an attachment, a missing setting) or ask them to have their IT let your address through first.

Pass this part on

For your IT person or web developer

You can forward this page as it is. Everything below is written so someone who doesn't work with email settings every day can follow it.

5.7.350 is Exchange Online relaying a permanent rejection from the remote MTA. The remote response follows ->. Microsoft doesn't publish a separate article for it; troubleshoot the remote reply.

1. Read the remote reply

A SURBL or Spamhaus DBL mention means a domain in the body or links is listed: look it up at surbl.org/surbl-analysis or check.spamhaus.org. An IP-based list means the outbound IP; for Exchange Online that's Microsoft's and is theirs to handle. A content or policy rejection needs the recipient's admin.

2. Check your own side

Microsoft 365 admin center → Settings → Domains shows the domain Healthy, SPF includes spf.protection.outlook.com, DKIM signing is on for the custom domain (Defender portal → Email authentication settings → DKIM), and DMARC exists and aligns. Message trace shows the full remote response.

3. Check it worked

DNS changes usually show within an hour, though some hosts take up to a day or two. Then send a test message to a personal Gmail address, open it, click the three dots at the top right of the message and choose Show original. You want to see SPF: PASS, DKIM: PASS and DMARC: PASS. You can also run the free check at senderfix.com again.

Written by the SenderFix team. Last updated .