Understanding CDO and MAPI
We have discussed a wide variety of ways in which you can use VB as part of a collaborative Exchange/Outlook solution. The one common point between all these items is that your VB code needs to talk to the underlying messaging system to carry out its tasks. There are three main ways in which this can be accomplished:
The Messaging API (MAPI) provided by Windows
Through a set of COM objects known as Collaborative Data Objects (CDO)
OLE Automation, controlling Microsoft Outlook
MAPI is the base method for communicating with Exchange and is provided as a part of the operating system for that purpose. CDO is a new interface into the messaging system and is actually just a wrapper around MAPI (see the diagram in Figure 8.9 ...
Get Exchange & Outlook®: Constructing Collaborative Solutions now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.