2.3 Top Level Structure

The top level of the file represents the entire Message object. The numbers and types of storages and streams present in a .msg file depend on the type of Message object, the number of Recipient objects and Attachment objects it has, and the properties that are set on it.

The .msg File Format specifies the following top level structure. Under the top level are the following:

  • Exactly one Recipient object storage for each Recipient object of the Message object.

  • Exactly one Attachment object storage for each Attachment object of the Message object.

  • Exactly one named property mapping storage.

  • Exactly one property stream, and it MUST contain entries for all properties of the Message object.

  • Exactly one stream for each variable length property of the Message object. That stream MUST contain the value of that variable length property.

  • Exactly one stream for each fixed length multiple-valued property of the Message object. That stream MUST contain all the values of that fixed length multiple-valued property.

  • For each variable length multiple-valued property of the Message object, if there are N values, there MUST be N + 1 streams.

Show: