Article ID: 200018 - View products that this article applies to.
This article was previously published under Q200018
This article describes key differences between CDO (previously known as Active Messaging and OLE Messaging), Simple MAPI, Common Messaging Calls (CMC), and Extended MAPI (usually referred to simply as MAPI).
CDOCollaboration Data Objects (CDO) was originally called "OLE Messaging" and later "Active Messaging". CDO is a COM wrapper of the MAPI library and can be called from any development language that supports automation. For example, Simple MAPI, CDO is primarily designed for client activities. CDO implements most but not all MAPI functionality, although far more than Simple MAPI. Some activities that can be accomplished using CDO:
There are two distinct "flavors" of CDO, the MAPI based CDO.DLL and the SMTP based CDONTS.dll. The CDONTS library allows rendering of selected information into HTML format.
For more information specific to CDO see the following KnowledgeBase articles:
(https://support.microsoft.com/kb/171440/EN-US/ )Where to Acquire the Collaboration Data Objects Library
For more information specific to CDONTS see the following KnowledgeBase articles:
(https://support.microsoft.com/kb/186204/EN-US/ )HOWTO: Use CDONTS to Collect and Mail Information From a User
(https://support.microsoft.com/kb/177850/EN-US/ )INFO: What is the Difference Between CDO 1.2 and CDONTS?
MAPIThe Messaging Application Program Interface (MAPI) is an extensive set of functions that developers can use to create mail-enabled applications. The full function library is known as MAPI 1.0 or Extended MAPI. Extended MAPI allows complete control over the messaging system on the client computer, creation and management of messages, management of the client mailbox, service providers, and so forth.
Applications that use MAPI directly are written in C or C++.
Simple MAPISimple MAPI is a subset of 12 functions, which enable developers to add basic messaging functionality to their Windows-based applications. Simple MAPI includes functions to support sending and receiving messages:
"The MAPI controls included with Microsoft Visual Basic (versions 3 through 6), and the version of MAPI installed by Outlook Express implement Simple MAPI only."
For more information specific to Simple MAPI see the following KnowledgeBase articles:
(https://support.microsoft.com/kb/105964/EN-US/ )PC MAPI: Simple MAPI Common Technical Questions and Answer
(https://support.microsoft.com/kb/239576/EN-US/ )INFO: Developer Support Limitations with Outlook Express
CMCCommon Messaging Calls (CMC) is a library of 10 functions for adding simple messaging capabilities to client applications written in C or C++. CMC is built on top of the core MAPI subsystem so it shares the advantage of messaging system independence. The CMC API is especially valuable because it is also independent of the operating system, therefore useful for cross-platform client applications. CMC also includes support for the X.400 API. The CMC supports three principal tasks:
Platform Software Development Kit (SDK), Messaging and Collaboration Services
The following MSDN topics are helpful to understand the full relationship of these messaging technologies:
Article ID: 200018 - Last Review: March 29, 2007 - Revision: 6.4