Platform SDK: Exchange 2000 Server

Example 1: Alternative Representations of a Message

[This is preliminary documentation and subject to change.]

Many messages are commonly sent with alternative representations, in both HTML and plain text. MIME formatting supports alternative representations of a message. The hierarchy of CDO objects for such a message would look like the following.

Alternative Representation Body Part Hierarchy

Note   In the previous illustration the Message object is itself a body part with a content-type equal to "multipart/alternative." Because of this, its content stream is empty. Its IBodyPart.BodyParts collection has two items, both BodyPart objects. Each child body part has a content stream with the particular alternative representation of the message.