At a glance
- Type: permanent failure (class 5, RFC 3463 §2). The sending server does not retry it and reports the failure to the sender: a bounce message, or an error in the mail app.
- Basic code: varies; the enhanced code is the part that identifies the problem.
- Enhanced code 5.6.1: “Media not supported” in the IANA registry (RFC 3463), in the group message content or media status (RFC 3463 §3.7).
The message could not go further because of what it contains, not because of who it was sent to. Something in it has to change before it can be delivered.
What it means
RFC 3463 §3.7 defines X.6.1 as "media not supported": the media of the message is not supported by the delivery protocol or by the next system in the forwarding path. The RFC says the code is useful only as a permanent error, so you will meet it as 5.6.1 and not as 4.6.1. The IANA registry gives no basic reply code for it.
"Media" here means the kind of content: text, images, attachments and the way each part is encoded. RFC 3463 says content problems are under the control of both the sender and the receiver, and that both must support a common set of content types. A 5.6.1 says that common ground was missing for this message.
The code is general. It does not say which part was refused, so the text after the code matters more than the number.
Common causes
- An attachment or message part of a type the next system does not accept.
- Raw 8-bit or binary content sent toward a system that only carries 7-bit text.
- A gateway into another kind of mail system that has no way to represent one part of the message.
How to fix it
If you are the sender:
- Read the text after the code. It may name the part or content type that was refused.
- Send a test without attachments. If it goes through, the attachment was the problem.
- Send the content in a plain form: encode attachments as base64 and non-ASCII text as quoted-printable, which any SMTP path can carry. A maintained mail library does this for you.
- If an attachment type itself is refused, share the file another way, such as a download link.
If you run the receiving system:
- Name the refused content type in the reply text, so the sender knows what to change.
If the server refused the message as a whole for its structure rather than one part, see 554 5.6.0.
What to do with the address
Keep it. The address is not the problem. The content of this one message is. Once you send it in a form the recipient's side can carry, it should go through.
The address on your list is not what failed here. For the bounces your list does cause, clean the list before you send.