LazyMAPI
Included units
The units of the Extended MAPI library (folder Library) and the units of Library\Helpers that have no classes. Each page lists the functions, procedures, classes and interfaces of the unit with their declarations and descriptions, as in the source code of version 2026.11. The classes of Library\Helpers are on the page Included helper classes.
The units of the examples
| Unit |
Contents |
| IMIEMTypes |
Common types of the library: object, folder, message and store kinds, the message, folder, store and recipient heads, contact, task, meeting and recurrence values, TMAPIBase. |
| MAPIBestBody |
Best message body: RTF / HTML / plain text selection, RTF to HTML decoding and MHTML through MSHTML. (13 routines) |
| MAPIUtils |
General helpers: MAPI buffers, binary / hex / entry-ID conversion, one-off addresses, code pages, Outlook detection. (164 routines) |
| MAPISessionUtils |
Session and profile helpers: logon, profiles, message stores, address book, delegate mailboxes, PST files. (31 routines) |
| MAPIFldUtils |
Folder helpers: special folders, message lists, create, copy, move, delete and empty folders and messages. (30 routines) |
| MAPIMsgUtils |
Message helpers: bodies, attachments, recipients, flags, save and submit. (47 routines) |
| MAPIPropUtils |
Typed get / set of tagged and named MAPI properties. (17 routines) |
| MAPIDateUtils |
Date, time and time-zone helpers: FILETIME conversion, registry time zones, MAPI time-zone blobs. (29 routines) |
| MAPIVariantProp |
Conversion between TSPropValue and Variant. (30 routines) |
More units of the library
| Unit |
Contents |
| MAPIRtfHtml |
MAPIRtfHtml – the original HTML of an RTF body that encapsulates it ([MS-OXRTFEX] 2.2.3.1 / 2.2.3.2), read with an RTF reader that follows the RTF specification ([MSFT-RTF] 1.5 / 1.9.1): control words, control symbols, \binN, groups and their state, the font table and code pages, \’hh and \uN with \ucN. |
| MAPIMIMEConverterSession |
IConverterSession: MIME <-> MAPI message conversion through Outlook. |
| MAPIFormSite |
The client side of MAPI forms (the forms of Outlook): a message site + view context + view advise sink (TMAPIFormSite), and functions that show a message in its form (modal / non-modal) or compose a new message of a class in its form. |
| MAPIAccountManager |
Outlook account management (IOlkAccountManager): enumerate, read and change the accounts of a profile. |
| MAPISmartFilter |
TSmartFilter: builds a MAPI restriction from simple search criteria. |
| MAPICIDMIMEHandler |
MIME filter for “cid:” URLs: embedded images of a message shown by the web browser control. |
| MAPIException |
EMapiError, the exception class of the library. |
| OutlookEvents |
Event sinks for the Outlook object model (Application, SyncObject). |
The MAPI and EDK headers
| Unit |
Contents |
| ExtendedMAPI |
The Delphi translation of the Extended MAPI headers: interfaces, structures, constants and functions. |
| EDK |
Exchange Development Kit (EDK) helper routines: property, folder, message, address and profile helpers. |
| MAPIMacros |
The MAPI macros of the Microsoft headers (PROP_TYPE, PROP_TAG, CbNewSPropTagArray, …) as functions. |
| MAPISTRDEF |
Names of MAPI property tags, property types and error codes, for diagnostics. |
Helpers of the user interface and the compiler
| Unit |
Contents |
| WBProxyLite |
Web browser proxy (viewer): shows a message body in TWebBrowser, with embedded images. |
| MAPIVclUtils |
VCL helpers (tree views, colours) kept out of the non-UI units. |
| URLLabel |
TURLLabel: a label that opens a URL when clicked. |
| MAPICompat |
Compiler compatibility: the locale format settings the same way from Delphi 6 to Delphi 13. |
| EDKDEBUG |
EDK debug, trace and event-log support. |
| MAPIIconStrips |
The message and folder icons of the library (MAPI_MESSAGES, 196 icons; MAPI_FOLDERS, 20 icons; IMIBO’s own, built from SVG) loaded into an image list in the size of the DPI of a control and in the colours of the VCL style. |
| MAPIRecurrenceFields |
The field table of a PidLidAppointmentRecur blob: one row per field of the AppointmentRecurrencePattern structure ([MS-OXOCAL] 2.2.1.44.5 with RecurrencePattern 2.2.1.44.1, ExceptionInfo 2.2.1.44.2, ChangeHighlight 2.2.1.44.3, ExtendedException 2.2.1.44.4) in the order of the blob: offset, size, field name, raw bytes, meaning. Walks the bytes itself, so a viewer shows exactly what is stored — and where a blob is truncated or carries bytes after its end. The same rows as the recurrence field table of MAPI.Kit. Delphi 6 .. 13. |
MAPIBackwardCompat.pas keeps the declarations of older versions of the library for existing programs; all of them are deprecated, and each one names its replacement. It is not described here.