Previous Page Next Page

E.3 Message Headers

RFC 822 details the standard headers that are to be used when sending mail across the Internet. Most of these fields are quite common, and you would expect to find them in almost any electronic mail system. This includes the "To:", "From:", "Subject:" and "Date:" fields, among others. The local delivery agent that actually stores the mail in a user's mailbox must map the RFC 822 headers into whatever fields are in use on the local system's mail store. Likewise, any system that is originating mail for the Internet (such as an SMTP gateway for Microsoft Mail, cc:Mail, VMS Mail, MHS, and others) must convert the local messages from their proprietary format into RFC 822-compliant form before sending the mail over the SMTP network.

Figure E.2 below shows an example RFC 822 message. The header is everything up to the blank line, and the body is everything after the blank line.

 Return-Path: <supervisor@unoverica.COM>
 Received: from Prophet by Greywolf
         id NAA01898; Sun, 18 May 1997 13:16:24 -0400
 Received: from Greywolf by Fred-PC (8.6.9/1.2-eef)
         id 000000C8; Sun, 18 May 1997 10:15:44 -0700
 Message-ID: 0xlckjds0032
 From: "System Administrator" <supervisor@unoverica.COM>
 Reply-To: <supervisor@unoverica.COM>
 Date: Sun, 18 May 1997 13:15:04 -0400
 To: root@unoverica.com
 Subject: mail headers
  
 Please let me know if you have any questions.
Figure E.2 Sample RFC 822 envelope.

Each of the fields in the header are defined by RFC 822:

For more information about the envelope, refer to section E.2 The SMTP Envelope. For more information on the headers, refer to section E.3 Message Headers.

Previous Page Next Page

Copyright © 1997, Unoverica Corporation. All rights reserved. Unauthorized use prohibited.

Send comments to docs@unoverica.com