message/rfc822 is a message media type commonly associated with .eml, .mime, .mht, .mhtml extensions.
Quick facts
What is message/rfc822
message/rfc822 is one of the message media types used on the internet, and it is safe to compress for transport. When serving this content over HTTP, set the Content-Type header in the response, for example:
Content-Type: message/rfc822
Related entities: associated extensions include .eml、.mime、.mht、.mhtml, and is delivered over HTTP via the Content-Type header, commonly with GET, POST, PUT and PATCH requests.
Related formats:
Relation chain
Related extensions
Related MIME types
Used with
Related headers
Related methods
Frequently asked questions
message/rfc822 is a message media type used to identify a content format; servers announce it to clients with the Content-Type header.
Extensions such as .eml, .mime, .mht, .mhtml are associated with this MIME type.
Send Content-Type: message/rfc822 in the HTTP response.
Sources & standards
Updated 2026-08-18
Explore this reference