Structure of an Email Message
Email messages are compose of two parts:
- Headers (lines of the form "field: value" which contain information
about the message, such as "To:", "From:", "Date:", and "Message-ID:")
- Body (the text of the message)
Example:
From johndoe@students.uiuc.edu Mon Jul 5 23:46:19 1999
Received: (from johndoe@localhost)
by students.uiuc.edu (8.9.3/8.9.3) id LAA05394;
Mon, 5 Jul 1999 23:46:18 -0500
Received: from staff.uiuc.edu (staff.uiuc.edu [128.174.5.59])
by students.uiuc.edu (8.9.3/8.9.3) id XAA24214;
Mon, 5 Jul 1999 23:46:25 -0500
Date: Mon, 5 Jul 1999 23:46:18 -0500
From: John Doe <johndoe@students.uiuc.edu>
To: John Smith <jsmith@staff.uiuc.edu>
Message-Id: <199907052346.LAA05394@students.uiuc.edu>
Subject: This is a subject header.
This is the message body. It is seperated from the headers by a blank
line.
The message body can span multiple lines.
Mark D. Roth <roth@feep.net>