Windows CE 2.1 Technical Articles  

Using the Microsoft Windows CE Mail API

Important:
This is retired content. 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 content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Sam Charchian
Microsoft Corporation

July 1999

Summary:The Microsoft Windows CE operating system provides developers with an API to handle the reading, manipulation, and sending of e-mail. The Windows CE Mail API is not related to the Messaging API (MAPI). However, it is somewhat similar to Simple MAPI. (4 printed pages)

Click hereto download the sample associated with this article from the Downloads Center.

The PenPal Sample

PenPal allows users to browse their message store and view the message contents of each message. PenPal employs MFC's CSplitterWnd class to present the user with a dual-pane UI. A CTreeCtrl containing the folders and messages is on the left, and a CEdit that shows the message bodies is on the right. Users can create new mail complete with attachments. Users can also refresh the tree on the left at any time.

Figure 1. The PenPal sample application

The PenPal sample demonstrates the use of the following: