5.6.0 means something about the message’s content made it undeliverable — most often a message that is malformed.
| Code | 5.6.0 |
| Meaning | Other or undefined media error |
| Kind | Permanent failure — the sender gives up |
| Sent in reply to | With 554, after the message |
| What the sender does | Returns the message to the sender |
| Defined in | RFC 3463 |
Paste your bounce
Paste the line with the code — or the whole bounce: we explain each code in it, say whether the sender will try again, and link the service’s own page where it has one. It is read in your browser; nothing is sent.
What to do
- Check the message against RFC 5322: one From header, a Message-ID, headers written correctly, no duplicate headers.
What each provider means by it
| Who | What they say |
|---|---|
| Gmail | 554 5.6.0 Email message is malformed. Not accepted. |
| Microsoft 365 | Refuses bare line feeds as 5.6.11 Invalid characters. |
| Yahoo | Counts duplicate or malformed headers and wrong MIME types as RFC compliance failures. |
Sources
Checked on 27 September 2026 against these official sources:
- Simple Mail Transfer Protocol (SMTP) Enhanced Status Codes Registry — iana.org
- Gmail SMTP errors and codes — knowledge.workspace.google.com
- Email nondelivery reports (NDRs) and SMTP errors in Exchange Online — learn.microsoft.com
- SMTP Error Codes — senders.yahooinc.com