Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

MAPI Service Provider 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 of three MAPI service providers:

  • Downloading the Outlook 2007 MAPI Samples

    This topic describes how to download the samples.

  • Sample Address Book

    This sample supports a single read-only container for display names and e-mail addresses, which are read from a flat binary file.

  • Sample Message Store

    This sample uses directories as folders and OLE 2.0 document files as messages. The sample supports all required features for a default message store.

  • Sample Transport Provider

    This sample uses files and directories to transmit and receive messages.

To run any of these 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.

Show:
© 2015 Microsoft