MIME
Also called: Multipurpose Internet Mail Extensions, MIME message format
Multipurpose Internet Mail Extensions describe how a message body can contain different media types, character sets, and encoded data. MIME is a family of message-format rules, rather than a delivery protocol. Content-Type identifies what a part contains; Content-Transfer-Encoding describes how its bytes were represented for transport.
For example, an email can contain a text part and a photo attachment inside a multipart body. Each part carries its own descriptive headers, and the photo may use base64 encoding. The receiving application decodes those bytes before displaying the image. Base64 changes representation; it does not encrypt the attachment or authenticate its sender.
- Related
- SMTP, Serialization, HTTP headers