Email Message Format and Headers

This chapter provides introductions and tutorial examples on email message format. Topics include email message headers and content; commonly used header names; encoded non-ASCII characters in content and headers; HTML formatted content; attachment files; email message examples.

Email Message Format and Example

What Are Email Message Headers

Content-Type: text/html - HTML Content

Content-Type: multipart/alternative; boundary="..."

Content-Type: multipart/mixed; boundary="..."

Content-Transfer-Encoding: 8bit - Non-ASCII Content

Content-Transfer-Encoding: base64 - Base64 Encoded Content

Content-Transfer-Encoding: quoted-printable - 7-Bit Encoding

Subject: =?...?= - 7-Bit Encoding

From: ... - Email "From" Address

To: ... - Email "To" Addresses

Received: from ... by ... - SMTP Server Log

Takeaways:

Table of Contents

 About This Book

 Introduction to Email

 Postfix - Mail Transport Agent (MTA)

 SSL/TLS Secure Connections with Postfix Server

 Dovecot - IMAP and POP3 Server

 SSL/TLS Secure Connections with Dovecot Server

 Email Client Tools - Mail User Agents (MUA)

 Mozilla Thunderbird - Mail User Agents (MUA)

 PHPMailer - PHP Package for Sending Emails

Email Message Format and Headers

 References

 Full Version in PDF/EPUB