RFC 561 UNKNOWN EMAIL · HEADERS

Standardizing Network Mail Headers

An interim proposal to give network mail a standard From, Date and Subject header.

On rfc-editor.org ↗
PUBLISHED
September 1973
AUTHORS
A.K. Bhushan, K.T. Pogran, R.S. Tomlinson, J.E. White
STREAM
Legacy
UPDATED BY
RFC 680 — Message Transmission Protocol
REQUIRED HEADER ITEMS
FROM, DATE, SUBJECT (each at most once)
TIME FORMAT
Four decimal digits
MAIL COMMANDS
MAIL and MLFL
DOI
10.17487/RFC0561

RFC text

Original text · RFC Editor View on rfc-editor.org ↗
     RFC # 561                           Abhay Bhushan (AKB) MIT-DMCG
     NIC # 18516                          Ken Pogran (KP) MIT-MULTICS
                                        Ray Tomlinson (RST) BBN-TENEX
                                              Jim White (JEW) SRI-ARC
                                                       5 September 73


                    Standardizing Network Mail Headers




     One of the deficiences of the current FTP mail protocol is that
     it makes no provision for the explicit specification of such
     header information as author, title, and date.  Many systems
     send that information, but each in a different format.  One
     fairly serious result of this lack of standardization is that
     it's next to impossible for a system or user program to
     intelligently process incoming mail.

     Although the long-term solution to the problem is probably to
     add commands for specifying such information to the mail
     protocol command space (as suggested in RFC 524 -- 17140,), we
     hereby propose a more quickly implemented solution for the
     interim.

     We suggest that the text of network mail, whether transmitted
     over the FTP telnet connection (via the MAIL command) or over a
     separate data connection (with the MLFL command), be governed by
     the syntax below:

        Example:

           From: White at SRI-ARC
           Date: 24 JUL 1973 1527-PDT
           Subject: Multi-Site Journal Meeting Announcement
           NIC: 17996

           At 10 AM Wednesday 25-JULY there will be a meeting
           to discuss a Multi-Site Journal in the context of
           the Utility.  Y'all be here.

        Formal Syntax:

           <mailtext>    ::= <header> <CRLF> <message>
           <header>      ::= <headeritem> ! <headeritem> <header>
           <headeritem>  ::= <item> <CRLF>
           <item>        ::= <authoritem> ! <dateitem> !
                             <subjectitem> ! <miscitem>

     NWG/RFC# 561                   AKB KP RST JEW 5-SEP-73 11:19  18516
     Standardizing Network Mail Headers           RFC 561 / NIC 18516



           <authoritem>  ::= FROM: <SP> <user> <SP> AT <SP> <host>
           <dateitem>    ::= DATE: <SP> <date> <SP> <time> - <zone>
           <subjectitem> ::= SUBJECT: <SP> <line>
           <miscitem>    ::= <keyword> : <SP> <line>
           <date>        ::= <vdate> ! <tdate>
           <vdate>       ::= <dayofmonth> <SP> <vmonth> <SP> <vyear>

           <tdate>       ::= <tmonth> / <dayofmonth> / <tyear>
           <dayofmonth>  ::= one or two decimal digits
           <vmonth>      ::= JAN ! FEB ! MAR ! APR ! MAY ! JUN !
                             JUL ! AUG ! SEP ! OCT ! NOV ! DEC
           <tmonth>      ::= one or two decimal digits
           <vyear>       ::= four decimal digits
           <tyear>       ::= two decimal digits
           <zone>        ::= EST ! EDT ! CST ! CDT ! MST ! MDT !
                             PST ! PDT ! GMT ! GDT
           <time>        ::= four decimal digits
           <user>        ::= <word>
           <host>        ::= a standard host name
           <message>     ::= <line> <CRLF> ! <line> <CRLF> <message>

           <keyword>     ::= <word>
           <line>        ::= a string containing any of the 128 ASCII
                             characters except CR and LF
           <word>        ::= a string containing any of the 128 ASCII
                             characters except CR, LF, and SP
           <CRLF>        ::= CR LF
           <SP>          ::= space

        Please note the following:

           (1) <authoritem>, <dateitem>, and <subjectitem> may each
           appear at most once in <header>; <miscitem> may occur any
           number of times.  The order of <authoritem>, <dateitem>,
           and <subjectitem> is insignificant, but they must proceed
           all occurrences of <miscitem>.
           (2) The case (upper or lower) of keywords -- specifically,
           'FROM', 'DATE', 'SUBJECT' ,'AT', <host>, <zone>, <vmonth>
           and <keyword> -- is insignificant.  Although 'FROM', for
           example, appears in upper-case in the formal syntax above,
           in the header of an actual message it may appear as 'From'
           (as in the example), or 'from', or 'FrOm', etc.
           (3) No attempt has been made to legislate the format of
           <user>, except to exclude spaces from it.
           (4) The time has no internal punctuation.
           (5) No provision is made for multiple authors.

     We recommend that mail-sending subsystems which prefix header
     information to the text of the user's message be modified
     NWG/RFC# 561                   AKB KP RST JEW 5-SEP-73 11:19  18516
     Standardizing Network Mail Headers           RFC 561 / NIC 18516



     appropriately, and that other hosts recommend the above
     conventions to their users.

AI ELI5

On this page
PROBLEMThe FTP mail protocol had no way to specify author, title and date, so each system sent them in its own format and programs could not process incoming mail.
MECHANISMThe authors propose a simple header block of FROM, DATE and SUBJECT lines, plus optional keyword lines, followed by a blank line and the message.
STATUS TODAYIt is offered as a quick interim fix; the long-term answer is thought to be new mail protocol commands, and RFC 680 later updated it.

§1The Problem

The current FTP mail protocol makes no provision for explicitly specifying header information such as author, title and date. Many systems send that information, but each in a different format. As a result it is next to impossible for a system or user program to intelligently process incoming mail.

The long-term solution is probably to add commands for this information to the mail protocol command space, as suggested in RFC 524. This RFC proposes a more quickly implemented interim solution.

Everyone wrote the sender and date differently, so computers could not read them. The fix is one shared way to write them.

§2The Proposed Header Syntax

The text of network mail, whether sent over the FTP Telnet connection with the MAIL command or over a separate data connection with MLFL, would be a header, then a blank line, then the message. The header has a FROM: item (user AT host), a DATE: item (date, four-digit time and zone) and a SUBJECT: item, plus any number of other keyword: lines.

The example in the RFC begins with From: White at SRI-ARC, a date of 24 JUL 1973 1527-PDT, a subject and a NIC number.

The first lines of every letter say who it is from, the date, and what it is about. Then there is a blank line and the letter itself.

EXAMPLE HEADER FROM RFC 561
Example mail text
From: White at SRI-ARC
Date: 24 JUL 1973 1527-PDT
Subject: Multi-Site Journal Meeting Announcement
NIC: 17996

At 10 AM Wednesday 25-JULY there will be a meeting
to discuss a Multi-Site Journal in the context of
the Utility.  Y'all be here.

§3Rules and Recommendations

The From, Date and Subject items may each appear at most once, in any order, but they must come before all other keyword items. The case of keywords is insignificant, so From, from and FROM are equivalent. The format of the user name is not legislated, except that spaces are excluded, and no provision is made for multiple authors.

The authors recommend that mail-sending subsystems that prefix header information be modified accordingly, and that other hosts recommend these conventions to their users.

The main lines can come in any order, capital letters do not matter, and each letter has one author.

§4References