RFC 2045-2049: MIME (RFC 2045 through 2049): Attachments and HTML Emails

Overview article covering all five MIME RFCs as a suite: format, media types, header extensions, registration, and conformance.
Alaa
By Alaa
SMTPedia documents email infrastructure end to end: SMTP standards from the RFC archive, delivera...
3 min read Updated Jul 14, 2026 68 views
RFC 2045-2049
MIME (RFC 2045 through 2049): Attachments and HTML Emails
Current standard
Domain
MIME
Published
November 1996
Supersedes
First in series
SMTP relevance
foundational
↗ Read on rfc-editor.org

What this RFC defines

The five MIME RFCs (2045-2049) define how email messages can carry non-ASCII content: attachments, HTML bodies, images, and text in any language. Before MIME, email was limited to plain ASCII text. These RFCs introduced the Content-Type header, the multipart structure that separates HTML from plain text, and the base64 encoding used for binary attachments.

Where you see it in practice

Every HTML email you send is a multipart/alternative message as defined in RFC 2046. The Content-Type: text/html; charset=UTF-8 header on your email body follows RFC 2045. When you attach a PDF to an email, the client wraps it in a Content-Transfer-Encoding: base64 block per RFC 2045 section 6.8. The boundary strings separating email parts (–boundary_string) come from RFC 2046 section 5.1.

How it connects to other RFCs

The MIME suite (RFC 2045-2049) works alongside RFC 5322 (message format) and RFC 5321 (SMTP transport). RFC 2183 (Content-Disposition) extends MIME to control inline versus attachment display. RFC 2231 extends MIME parameter encoding for non-ASCII filenames. RFC 6532 extends MIME headers to support UTF-8 for internationalized email.

Current status

All five MIME RFCs remain current standards, published November 1996. Despite their age they are the unmodified foundation of all modern email content. Extensions are handled through separate RFCs rather than revisions to the core MIME suite.

Why the MIME series is treated as a unit

RFC 2045 through RFC 2049 were published together in November 1996 as a five-part specification. Splitting them across five documents was an editorial choice made because a single monolithic document would have been unwieldy, but the five pieces cannot be implemented independently. RFC 2045 defines the header fields; RFC 2046 defines the multipart structure; RFC 2047 defines encoded-word syntax; RFC 2048 defines registration procedures; and RFC 2049 defines conformance. Any real MIME implementation must reference all five.

Timeline and predecessors

The MIME work started with RFC 1341 in June 1992 and evolved through RFC 1521/1522 in September 1993. By 1996, enough deployment experience had accumulated to produce the RFC 2045-2049 revision, which is what modern email is built on. RFC 2048 was later obsoleted by RFC 4288 and then RFC 6838 for the registration procedures, but the other four documents remain the current MIME specification. When email libraries or protocol documents cite MIME, they generally mean this five-document set.

What MIME made possible

Before MIME, email was 7-bit ASCII text with no formal way to attach files or represent non-English text. Every consumer application that emerged in the following decades depended on MIME: HTML email marketing, attachments, calendar invitations, S/MIME signatures, encrypted messages, inline images, digital business cards, and rich formatting. If MIME had not existed, email would have remained a plain-text medium and consumer email adoption would have followed a very different trajectory. The 1996 revision codified in RFC 2045-2049 is the foundation of every attached PDF, inline logo, and formatted newsletter delivered today.


About the Author

Alaa - SMTPedia author

Alaa · LinkedIn

Email infrastructure specialist with 8+ years of hands-on experience in SMTP, deliverability, and email verification. I’ve configured and troubleshot mail systems across Postfix, Exchange, and cloud relays, managed IP reputation and warmup campaigns, and built verification pipelines processing millions of addresses. My work spans DNS authentication (SPF, DKIM, DMARC, BIMI), bounce handling, blocklist monitoring, and compliance frameworks including CAN-SPAM and GDPR. I write every article on SMTPedia to give email professionals, developers, and marketers the accurate, RFC-grounded reference they need.


About SMTPedia

SMTPedia is an independent email industry reference covering SMTP, IMAP, POP3, email deliverability, marketing platforms, DNS authentication, and email verification. Every article is researched from official provider documentation, IETF RFCs, and industry best practices. Settings and configurations are verified quarterly.

We are cited as a source by ChatGPT, Microsoft Copilot, and thousands of email professionals worldwide. Learn more about our editorial process.