Skip to content

Commit 6387b93

Browse files
committed
restore missing email headers
1 parent 8a74800 commit 6387b93

1 file changed

Lines changed: 28 additions & 22 deletions

File tree

applications/traditional.rst

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -97,29 +97,35 @@ data. This data is still represented as ASCII text, but because it may
9797
be an encoded version of, say, a JPEG image, it’s not necessarily
9898
readable by human users. More on MIME in a moment.
9999

100+
101+
100102
The message header is a series of ``<CRLF>``-terminated lines.
101-
(``<CRLF>`` stands for carriage-return plus line-feed, which are a pair
102-
of ASCII control characters often used to indicate the end of a line of
103-
text.) The header is separated from the message body by a blank line.
104-
Each header line contains a type and value separated by a colon. Many of
105-
these header lines are familiar to users, since they are asked to fill
106-
them out when they compose an email message; for example, the header
107-
identifies the message recipient, and the header says something about
108-
the purpose of the message. Other headers are filled in by the
109-
underlying mail delivery system. Examples include (when the message was
110-
transmitted), (what user sent the message), and (each mail server that
111-
handled this message). There are, of course, many other header lines;
112-
the interested reader is referred to RFC 822.
113-
114-
RFC 822 was extended in 1993 (and updated quite a few times since then)
115-
to allow email messages to carry many different types of data: audio,
116-
video, images, PDF documents, and so on. MIME consists of three basic
117-
pieces. The first piece is a collection of header lines that augment the
118-
original set defined by RFC 822. These header lines describe, in various
119-
ways, the data being carried in the message body. They include (the
120-
version of MIME being used), (a human-readable description of what’s in
121-
the message, analogous to the line), (the type of data contained in the
122-
message), and (how the data in the message body is encoded).
103+
(``<CRLF>`` stands for carriage-return plus line-feed, which are a
104+
pair of ASCII control characters often used to indicate the end of a
105+
line of text.) The header is separated from the message body by a
106+
blank line. Each header line contains a type and value separated by a
107+
colon. Many of these header lines are familiar to users, since they
108+
are asked to fill them out when they compose an email message; for
109+
example, the ``To:`` header identifies the message recipient, and the
110+
``Subject:`` header says something about the purpose of the
111+
message. Other headers are filled in by the underlying mail delivery
112+
system. Examples include ``Date:`` (when the message was transmitted),
113+
``From:`` (what user sent the message), and ``Received:`` (each mail
114+
server that handled this message). There are, of course, many other
115+
header lines; the interested reader is referred to RFC 822.
116+
117+
RFC 822 was extended in 1993 (and updated quite a few times since
118+
then) to allow email messages to carry many different types of data:
119+
audio, video, images, PDF documents, and so on. MIME consists of three
120+
basic pieces. The first piece is a collection of header lines that
121+
augment the original set defined by RFC 822. These header lines
122+
describe, in various ways, the data being carried in the message
123+
body. They include ``MIME-Version:`` (the version of MIME being used),
124+
``Content-Description:`` (a human-readable description of what’s in
125+
the message, analogous to the ``Subject:`` line), ``Content-Type:``
126+
(the type of data contained in the message), and
127+
``Content-Transfer-Encoding:`` (how the data in the message body is
128+
encoded).
123129

124130
The second piece is definitions for a set of content types (and
125131
subtypes). For example, MIME defines several different image types,

0 commit comments

Comments
 (0)