Platform SDK: CDO for Windows 2000

Simple Internet Mail Message: An Example

As you can see in the following sample of a message's contents, the format described in RFC 822 produces messages readable with little difficulty by humans.

The first few lines, from the first instance of "Received" to "Precedence", are headers. These lines define the recipients, the sender, the date, and other information involved with message transmission.

Following the headers is a blank line. This is marked by the consecutive occurrence of the four characters CR, LF, CR, LF. After this blank line starts the body of the message. In the following example, only the final few lines make up the message body.

Received: from johndoe@microsoft.com 
Message-Id: <v0214040cad6a13935723@>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 4 Jun 1998 09:43:14 -0800
To: project-discussion@microsoft.com
From: John Smith <jsmith@microsoft.com>
Subject: Happy Birthday
Precedence: bulk

Happy Birthday!
See you this evening,
Joe