message/*
message/rfc822
File extensions: .eml
RFC 822 email message — the .eml format.
What is message/rfc822?
message/rfc822 is the media type for a complete email message including headers and body — the format saved as .eml by mail clients.
Typical usage
Email exports, saved messages, email archives.
HTTP header example
Response header
Content-Type: message/rfc822Reference
RFC 822 / RFC 5322
Frequently asked questions
What is the message/rfc822 MIME type?
message/rfc822 is the media type for a complete email message including headers and body — the format saved as .eml by mail clients.
What file extension does message/rfc822 use?
Files served as message/rfc822 typically use the extension .eml. The most common is .eml.
How do I set the Content-Type for message/rfc822?
Send the HTTP response header Content-Type: message/rfc822. Email exports, saved messages, email archives.
Is message/rfc822 an official MIME type?
Yes. message/rfc822 is officially registered with IANA (RFC 822 / RFC 5322), so standards-conformant clients recognize it.