Skip to main content

3.3. Message Objects

In the composition of messages we use a set of objects such as address, or date. These objects are encoded in the basic data elements. The message objects are built of data elements.

While data elements are typed, message objects are not. This is because messages are structured to the extent that only one kind of message object may occur in any position of a message structure.

The following is a list of some of the objects used in messages. The object descriptions are grouped by the section of the message in which they normally occur.

Identification​

Internet Host Number (ihn)​

This identifies a host in the internetwork environment. When used as a part of tid, it identifies the originating host of a message. The ihn is a 32 bit number, the higher order 8 bits identify the network, and the lower order 24 bits identify the host on that network.

INTEGER

Transaction Identifier (tid)​

This is the transaction identifier associated with a particular command. It is a list of the transaction number and the internet host number of the originating host.

LIST ( tn , ihn )

Transaction Number (tn)​

This is a number which is uniquely associated with this transaction by the originating host. It identifies the transaction. (A transaction is a message and acknowledgment, this is discussed in more detail in later sections.) A tn must be unique for the time which the message (a request or reply) containing it could be active in the network.

INDEX

Command​

Address​

This is very similar to Mailbox in that it also is the "address" of a user. However, Address is intended to contain the minimum information necessary for delivery, and no more.

PROPLIST ( --- )

Answer​

A yes (true) or no (false) answer to a question.

BOOLEAN

Arguments​

This is the argument to many of the operations. It consists of a List of different data types. The List will have form and data relevant with the particular operation.

LIST ( --- )

Command-Type​

Gives the type of a command (e.g., request, reply, alarm).

INDEX

Error-List​

The error list contains information concerning an error which has occured. It is a List comprised of the two objects error-class and error-string.

LIST ( error class, error string )

Error-Class​

A code for the class of the error.

INDEX

Error-String​

A text string explaining the error.

TEXT

How-Delivered​

A comment on the delivery of a messages, for instance a message could be delivered, forwarded, or turned over to general delivery.

LIST ( TEXT )

Mailbox​

This is the "address" of a user of the internetwork mail system. Mailbox contains information such as net, host, location, and local user-id of the recipient of the message. Some information contained in Mailbox may not be necessary for delivery.

As an example, when one sends a message to someone for the first time, he may include many items which are not necessary simply to insure delivery. However, once he gets a reply to this message, the reply could contain an Address (as opposed to Mailbox) which the user will use from then on.

A mailbox is a PROPLIST. A mailbox might contain the following name-value pairs:

name    element  description
---- ------- -----------
IA INTEGER internet address
NET TEXT network name
HOST TEXT host name
USER TEXT user name
CITY TEXT city
COUNTRY TEXT country
STATE TEXT state
ZIP TEXT zip code
PHONE TEXT phone number
PROPLIST ( --- )

Operation​

This names the operation or procedure to be performed.

TEXT

Options​

REGULAR for normal delivery, FORWARD for message forwarding, GENDEL for general delivery, or other options which may be defined later.

LIST ( TEXT, ... )

Reasons​

These could be mailbox does not exist, mailbox full, etc.

LIST ( TEXT )

Stamp​

Each MPM that handles the message must add a unique identifier (ihn, see above) to the list. This will prevent messages from being sent back and forth through the internet mail system without eventually either being delivered or returned to the sender.

LIST ( ihn, ihn, ... )

Trail​

When a message is sent through the internetwork environment, it acquires a list of MPMs that have handled the message in "Stamp". This list is then carried as "Trail" upon reply or acknowledgment of that message. More simply, requests and replies always have a "Stamp" and each MPM adds its ihn to this "Stamp." Replies, in addition, have a "Trail" which is the complete "Stamp" of the original message.

LIST ( ihn, ihn, ... )

Type​

The command type, e.g., request or reply.

INDEX

Document​

In this section, we define some objects useful in message document headers. The ones we use are taken from the current ARPANET message syntax standard [6,8].

CC​

When copies of a message are sent to others in addition to the addresses in the To object, those to whom the copies are sent will have their addresses recorded here. CC will be a single TEXT element.

TEXT

Date​

The date and time are represented according to the International Standards Organization (ISO) recommendations [13,14,15]. Taken together the ISO recommendations 2014, 3307, and 4031 result in the following representation of the date and time:

yyyy-mm-dd-hh:mm:ss,fff+hh:mm

Where yyyy is the 4 digit year, mm is the two digit month, dd is the two digit day, hh is the two digit hour in 24 hour time, mm is the two digit minute, ss is the two digit second, and fff is the decimal fraction of the second. To this basic date and time is appended the offset from Greenwich as plus or minus hh hours and mm minutes.

TEXT

Document-Body​

The document body will contain that portion of the message commonly thought of as the text portion. It will be composed of a list of elements. This will allow transmission of data other than pure text if such capabilities are needed. We can, for instance, envision digital voice communication through the transmission of BITSTR element, or transmission of graphic data, etc. Information regarding control of such features could be included in the header for cooperating sites, or in the body itself but such protocols would depend upon agreement among those sites involved. It is expected of course that the majority of messages will contain body portions comprised of TEXT elements.

LIST ( --- )

Document-Header​

The document header contains the memo header presented to the user. In principle this may be of any style or structure. In this specification it is recommended that a PROPLIST be used and that the name-value pairs correspond to the header fields of RFC 733 [6].

PROPLIST ( --- )

From​

The From is meant to be the name of the author of a document. It will be one TEXT element.

TEXT

Reply-To​

Sometimes it will be desired to direct the replies of a message to some address other than the From or the Sender. In such a case the Reply-To object can be used.

TEXT

Sender​

The Sender will contain the address of the individual who sent the message. In some cases this is NOT the same as the author of the message. Under such a condition, the author should be specified in the From object. The Sender is a single TEXT element.

TEXT

Subject​

The subject of the message.

TEXT

To​

To identifies the addressees of the message. The To object is one TEXT element.

TEXT