550 5.7.520 Message Blocked as Spam in Outlook.com: Fixes
The error "550 5.7.520 Message blocked because it contains content identified as spam" means Microsoft's outbound filter stopped your message. On personal Outlook.com accounts it often follows a compromised-account flag. Reset your password, review recent activity and sign-in settings, then resend a plain-text test before retrying the attachment.
Sohail Hussain9 min readShort answer
- This is Microsoft's own spam filter refusing the message on the way out, so the recipient never saw it. Changing the recipient address will not help.
- Secure the account and reset the password, then send a plain-text test with no links or attachments. If that works, add the original content back one piece at a time.
- If a plain-text message to anyone still bounces, only Microsoft support can lift the block.
You hit send on an invoice from your outlook.com address and got this back:
Remote server returned '550 5.7.520 Message blocked because it contains content identified as spam. AS(4810)'
In the case behind this page, a personal outlook.com account was sending PDF invoices after the owner changed ISP and PC. The sender got mail flowing again by resetting the account password.
Why it happens
550 is a permanent rejection. 5.7.x is the security and policy family of enhanced status codes. In the cases below, the rejection comes from Outlook.com's own outbound filtering, not from the recipient's server. The number in AS(4810) is an internal anti-spam tag. Microsoft doesn't publish a lookup for it, so I can't tell you what it encodes. Quote it to support instead of trying to decode it.
Causes, roughly most common first:
- Content or attachment trips the filter. People on Microsoft's community forum report this with PDF attachments, HTML bodies, signatures and links. Many say resending as plain text got the message through.
- The account looks compromised. A new IP address and a new device, plus outgoing attachments, can look like a hijacked account. The sender in our case fixed it with a password reset, which fits this explanation. That is an inference; Microsoft doesn't confirm the mechanism.
- A server-side filter problem. Forum threads about this exact error appeared in 2023 and again in 2026, so don't assume it is a past bug. When it is an account-wide or backend issue, people report that only Microsoft support can clear it.
- Too much sending too fast. Recently created accounts and bursts of similar messages are reported as triggers. Microsoft publishes sending limits for Outlook.com; check them if you send in batches.
- Malware on the new PC. If something is sending mail or holding your session, a password change alone will not hold.
| Symptom | Likely cause | Fix |
|---|---|---|
| Only messages with a PDF fail | Attachment or content filter | Plain text, OneDrive link, simpler body |
| Replies and forwards fail, new messages pass | Quoted content or signature | Remove signature, plain text |
| Everything fails, even "test" to yourself | Account-level restriction | Password reset, then support |
| Started right after a new PC or ISP | Suspected compromise | Security review, password reset |
Work or school account with 550 5.1.8 | Restricted entities (different error) | Admin unblocks in Defender |
Step-by-step fixes
Fix 1: secure the account and reset the password
- Sign in to your Microsoft account in a browser, not a desktop app, and check for a banner about suspicious activity. Complete any verification prompt.
- Open the Security area of your Microsoft account and review recent sign-in activity. Anything unfamiliar means someone else may have had access.
- Change the password to a new, unique one. Sign out of all devices if offered.
- In Outlook on the web, open Settings and review inbox rules and forwarding for anything you did not create.
- Check that the recovery email and phone number are yours, and turn on two-step verification.
- Wait a few minutes, then run the test in Fix 2.
Do not retry in a loop
Repeated sends of the same blocked message can reinforce the spam suspicion. Send one short test, then wait.
Fix 2: isolate the trigger with a plain-text test
- In Outlook on the web, open Settings > Mail > Compose and Reply and set the message format to Plain text.
- Send a new message to one recipient with no signature, no links, no images and no attachment. A single line such as
Testing deliveryis enough. - If it passes, add content back one element at a time: body text, then links, then the signature, then the attachment. The first addition that bounces is your trigger.
- If only the attachment fails, share the file as a OneDrive link instead of attaching it. Zipping the PDF and renaming it to something specific are other workarounds forum users report.
- If only replies and forwards fail, remove the signature and send those as plain text too.
Invoices are a classic false positive: a PDF, a short body, a payment request and often a link. Cut link shorteners and phrases like "urgent payment". Our spam checker scores wording against a spam-word list. It is not a real filter test, but it catches obvious phrases.
Fix 3: try a different send path while you wait
Some people report that mail blocked from one client went through from another. Examples include the Outlook mobile app, or composing in the browser, saving a draft and sending from the phone. Treat these as stopgaps. They do not clear whatever flag is on the account.
Fix 4: scan the new PC
If the block began after you moved to a new computer, run a malware scan and sign out of any old sessions. Then redo Fix 1 so the new password is not exposed.
If this is a Microsoft 365 work or school account
The Restricted entities page in the Microsoft Defender portal is for a different error: 550 5.1.8 Access denied, bad outbound sender. If your bounce says 5.1.8, a tenant admin must secure the account, then go to Email & collaboration > Review > Restricted entities, select the mailbox and choose Unblock. Microsoft's guidance as relayed on its Q&A forum says restrictions usually clear within about an hour. You cannot unblock yourself.
If your bounce says 5.7.520, tell your admin the exact text and ask them to run a message trace. Do not assume it is the same restriction.
Do not skip the security review
Unblocking or resetting without finding the cause can leave the account compromised, and it may be restricted again. Check inbox rules, forwarding and sign-in history first.
Read the bounce headers
Open the bounce and view the raw headers. The "Generating server" line and the Received chain show whether Microsoft's outbound side or the recipient's server produced the rejection. Paste them into our email header analyzer if the chain is hard to read; the email header glossary entry explains the fields. Keep the exact 550 5.7.520 and AS(4810) text, because support will ask for it.
Checklist before you try again
- Password changed and sign-in activity reviewed
- Two-step verification on
- No unknown inbox rules or forwarding
- New PC scanned for malware
- Test sent as plain text, one recipient, no links or attachments
- Original content re-added one piece at a time
- Not resending the same blocked message repeatedly
If nothing works
If a minimal plain-text message to a different recipient still bounces a day after the reset, the account itself is probably restricted. Only Microsoft can review that. In Outlook.com, select Help on the menu bar, search for 550 5.7.520, complete the suggested self-help prompts, then use Still need help? to reach support. Ask for an account-specific outbound-sending review.
Microsoft's community forum also points people to a sender support form for removing restrictions. That form is aimed at IP delisting, and for account-level restrictions replies on the same forum say it does not apply. Try it only if support asks you to.
Include the full bounce text, timestamps with time zone, the headers, and what you already tried:
Subject: Outlook.com account blocked from sending, 550 5.7.520 AS(4810)
Hello,
All outgoing mail from {your-address}@outlook.com is rejected with:
Remote server returned '550 5.7.520 Message blocked because it contains
content identified as spam. AS(4810)'
First failure: {date, time, time zone}
What changed: new ISP and new PC on {date}
Already done: password reset, two-step verification on, rules and sign-in
activity reviewed, plain-text test to {recipient} also fails
Please review the account's outbound sending status and remove any
incorrect restriction. Full non-delivery report and headers attached.
Thank you
Preventing a repeat
- Use a long, unique password and two-step verification.
- After moving to a new network or computer, send a few ordinary messages before a batch of invoices.
- Don't send bulk or repetitive mail from a personal outlook.com mailbox. For invoices to many clients, a domain you control with proper SPF, DKIM and DMARC is safer; our SPF generator and DMARC generator help with the records.
Where Mailneo fits
Only a little. This block is Microsoft's decision about your account, and Mailneo can't lift it, override Outlook filtering or recover a restricted account. If you later move invoice or outreach mail to a domain you own, Mailneo checks that domain's SPF, DKIM and DMARC records and common blacklists; setup is in the email accounts documentation.
Common questions
Does AS(4810) mean my message really contains spam?
Not necessarily. Microsoft doesn't document what the tag encodes, and people report the same error on one-line test messages. Treat it as a filter verdict, not a content diagnosis.
Will the recipient's spam folder or allow list help?
Usually no, because the rejection happens before delivery. A safe-senders change on their side does not fix an account-wide outbound block.
Why did it start after I changed ISP or PC?
A new IP and device can look like account takeover to automated systems. That explains the reset working in our case, but Microsoft hasn't confirmed it.
How long does it take to clear?
Microsoft doesn't publish a timeline for consumer accounts. For Microsoft 365 Restricted entities, its Q&A forum says an hour is typical and up to 24 hours is possible.
Explore: Email Deliverability
Related Articles
0x800ccc0e: Outlook Unable to Connect to SMTP Server, Fixed
Outlook error 0x800ccc0e means the app could not open a connection to your outgoing (SMTP) server. Usually the port, encryption setting or password is wrong, or antivirus, a firewall or your ISP is blocking it. Set port 587 with STARTTLS, turn on SMTP authentication, and test again.
SocketLabs "421 4.5.1 Too many errors" blacklist: how to fix it
`421 4.5.1 Too many errors, you have been temporarily blacklisted` means a SocketLabs server saw repeated auth or bad-address errors from your IP and paused it. Stop whatever is retrying, fix credentials and invalid recipients, clear the queue, and wait. The block usually lifts within minutes, but returns if retries resume.
421-4.7.0 Gmail Has Detected This Message Is Suspicious: Fix
The 421-4.7.0 "suspicious due to the nature of the content and/or the links" error means Gmail's content filter rejected your message after DATA, not an authentication check. Remove click tracking or move it to your own domain, drop URL shorteners, check link reputation, then retest with a plain message.
421 4.7.0 IP not in whitelist for RCPT domain: what it means
The error 421 4.7.0 IP not in whitelist for RCPT domain means the recipient's mail gateway, usually Mimecast in reports, only accepts connections from approved IPs, and the Google sending IP isn't on that list. The fix is on the recipient side: their admin must allow the IPs or change the mail routing.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free