MAPI.Kit for Delphi – Examples
MAPI.Kit Advanced Examples
Eleven console and VCL programs on the larger parts of MAPI: a mailbox explorer, change notifications, Outlook’s own forms (modal and hosted), the free/busy format, and the Exchange side – folder permissions, rules and Out of Office, delegates, Outlook accounts, Exchange profiles with Autodiscover, other mailboxes and the public folders. The Exchange examples only read unless a switch says otherwise.
Download all 11 advanced examples
All 11 examples, compiled and signed (Win32 and Win64)
Source code of all 11 examples (Delphi 10.3 Rio – Delphi 13 Florence)
The source code needs the MAPI.Kit library: it comes in the free DCU packages, one per Delphi version.
The examples
Example #17 – A mailbox explorer
Stores, a folder tree filled on demand, the items in the view of their kind, a preview, Outlook’s form.
Example #18 – Change notifications
Store notifications and the row events of a table, caused by the buttons or by Outlook.
Example #19 – Show an item in Outlook’s own form
An e-mail, a contact and an appointment shown in Outlook’s forms, modal.
Example #20 – Hosting Outlook forms
Outlook forms opened non-modally, several at a time, with the program as their site.
Example #21 – The free/busy format
The free/busy months of [MS-OXOPFFB] built, stored and decoded; the free/busy of a calendar.
Example #22 – Folder permissions, rules and Out of Office
The permissions and the rules of the Inbox, Out of Office; a rule added and removed.
Example #23 – Outlook forms: modal or non-modal
One mail client, Outlook’s forms modal or non-modal, for every kind of item.
Example #24 – Delegates
The delegates of a mailbox, added and removed; the delegator’s calendar opened as a delegate.
Example #25 – Outlook accounts
The Outlook accounts of a profile with their settings and the message services behind them.
Example #26 – Exchange profiles and Autodiscover
The Exchange services of a profile without a logon, Autodiscover, a new Exchange profile.
Example #27 – Exchange mailboxes and public folders
The Exchange identity, the stores, another user’s mailbox and the public-folder tree.
