This documentation is archived and is not being maintained.

MAPI Samples

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This section contains code samples that show how to achieve certain tasks or implement certain service providers using MAPI. MFCMAPI is also used in this reference to demonstrate the use of many APIs. To run any of the samples on the Windows Vista, Windows Server 2008, Windows XP, or Windows Server 2003 operating systems, you must first set up the MAPI runtime system. For more information, see MAPI Programming Overview.

MFCMAPI as a Code Sample

Describes how to download and use MFCMAPI as a sample application for this reference.

MAPI Service Provider Samples

Shows examples of MAPI service providers.

Creating Outlook Items by Using MAPI

Shows code sample of how to create Outlook items using MAPI.