Platform SDK: Exchange 2000 Server

Messaging with CDO for Exchange 2000 Server

[This is preliminary documentation and subject to change.]

You can use the CDO for Exchange 2000 Server COM component provided by Microsoft® Exchange 2000 Server to manage all aspects of message construction and manipulation. Like its predecessor, CDO for Microsoft® Windows® 2000, you can use CDO for Exchange 2000 Server to construct, process, and respond to messages formatted according to the Internet standard RFC 822 and MIME specifications. Such formats are the native storage format for messages in the Web Store.

Messages, like other non-folder items in a Web Store repository, are comprised of a stream of data and a set of associated properties defined by the various messaging content classes. Working directly with the properties can satisfy the needs of your application. For example, working with the properties would suffice if you are working with simple messages that contain only US-ASCII text or HTML and have no attachments. You can use ADO/OLE DB to create and transmit such messages, leaving the stream construction to Exchange.

In the case of existing messages in the Web Store repository, you can also rely solely on the message item's properties for your application. However, you need to manage or send more complex messages, such as those with attachments or MIME-formatted bodies, you must be able to parse, interpret and/or construct the message's associated MIME stream. ADO provides access to the item's properties and stream, but does not provide any facilities for the management of the item's stream.