Messaging Overview

MAPI is a COM-based library that provides programmatic access to Microsoft's messaging client application, Messaging (formerly named Inbox), to message stores and the message items they contain.

You can also use MAPI to create an entirely new messaging client application, create a new messaging transport, create custom forms for the Messaging application, implement a mail-rule client to programatically process incoming messages, implement an advise-sink object for handling notifications, and programmatically manage high-level operations on container objects like address books, distribution lists, and folders.

Note   Prior to the release of Windows Mobile 2002 software, programmatic access to the messaging system was provided through the Windows CE MsgStore APIs (found in msgstore.h and msgstore.lib). Although later versions of Windows Mobile provide limited backward compatibility, it is recommended that you modify your code to use MAPI instead.

For background information on the messaging subsystem, and on extending the Messaging application, see the following topics in this section:

See Also

Messaging

Pocket Outlook Object Model

How to: Begin a MAPI Session

How to: End a MAPI Session

How to: Connect to a Message Store

How to: Create a Message

How to: Send a Message

How to: Register Customized Messaging Forms

How to: Register Customized Messaging Rules Clients

How to: Register Customized Messaging Transports

Messaging Sample Code

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.