DNSVerdictAll toolsGuidesHow it works

5.1.8 Microsoft bounce: outbound sender blocked

Permanent failure (5.1.8): the receiving system will not accept this message as sent, so resending it unchanged will not help. Fix the cause first.

What 5.1.8 means

The sending account was blocked by Exchange Online for sending too much spam, usually because it was compromised.

Message text

Access denied, bad outbound sender

Common causes of 5.1.8

How to fix 5.1.8

  1. Reset the account password and review its sign-ins and forwarding rules.
  2. Contact Microsoft support to restore sending once the account is clean.

Check your domain

Read the headers of a bounced messageRuns in your browser; nothing is uploaded.

Get your domain's deliverability score

Have the full bounce message? Paste it into the bounce code lookup and it will match the code and the provider for you. Open the bounce code lookup.

How to read 5.1.8

The second part, 5.1.8, is an enhanced status code (RFC 3463 §2) written class.subject.detail. Class 5 is a Permanent failure (5xx): the command was rejected and the sender should not repeat it unchanged (RFC 5321 §4.2.1; RFC 3463 §2).. Subject 1 is addressing: a problem with the recipient or sender address. The detail number refines the subject, and providers may define details of their own, which is why one code can read differently at Gmail, Microsoft and Yahoo.

Do not keep resending the same message: a permanent failure repeats until the cause is fixed. Correct the cause, then send a new message.

Official source: learn.microsoft.com. Last verified 2026-10-20.

Related guides

Related codes

FAQ

What does 5.1.8 mean?

The sending account was blocked by Exchange Online for sending too much spam, usually because it was compromised. This is a permanent failure.

How do I fix 5.1.8?

Reset the account password and review its sign-ins and forwarding rules. Contact Microsoft support to restore sending once the account is clean.

Is 5.1.8 permanent, and should I retry?

5.1.8 is a permanent failure, so retrying the same message will fail again. Fix the cause first, then send a new message.

All bounce codes