MAPIEx handles Microsoft Outlook elements as messages, folders, contacts and appointments through Extended MAPI (Message API).
With MAPIEx you can check email folders, open and save emails including images and attachments, create contacts or delete emails and folders. Many simple examples are included in MAPIEx_demo package.
MAPIEx is a wrapper of Noel Dillabough CMAPIEx library It contains code from Lucian Wischik MAPI Utils.
The main changes in relationship with original code have been:
"new" and "delete" are not necessary in user program. No heap errors are expected as now all user variables are in the stack. In addition internal use of heap has been reduced.
The library interface from user point of view has been simplified. GetContents() and GetHierarchy() use is now private.
To improve compatibility CString and TCHAR have been removed. They have been substituted by String.
MAPIEx classes are:
There is a News and changes log, License and a ToDo list.
Compiler support and Requirements
As MAPIEx uses internal Microsoft infrastructure, it can only work with Outlook installed.
MAPIEx has been tested with MSC and MinGW 32 bits although it could work in 64 bits.
MAPIEx compiled in 32 bits can only work with Outlook 32 bits, and the same happens with 64 bits. Mixing version of different bits will raise a window like this:
To compile using MinGW32 in Windows it is required to copy the files in MAPIEx/include_MINGW32 to MINGW32\include.