MAPI: Automatically reset search folders in user’s mailbox (see KB 3056652) No ratings yet.

There is a known issue, described in KB 3056652, whereby search folders may be inactive after a mailbox move from Exchange 2013 to Exchange 2010 (this can also affect moves from Office 365 to Exchange 2010).  The KB describes how…

Read More

MAPI Utility to add Ldap Address Books to existing Outlook profiles 5/5 (1)

Important The sample in this blog post is superseeded by https://github.com/andreighita/MAPIToolkit. Please use MAPIToolkit instead. I’ve had quite a few requests recently for a tool that can configure Ldap (Internet) Address Books in existing Outlook profiles. Since I don’t know…

Read More

MapiHTTP and Autodiscover – How to open shared mailboxes in a MAPI application No ratings yet.

Opening shared mailboxes in a MAPI application has been an easy thing in the past. Simply query the primary mailbox for the IID_IExchangeManageStore interface and create an EntryID for the shared mailbox by calling CreateStoreEntryID. This is a V2 Exchange…

Read More

MAPI Application: Enable or disable Cached Mode in the default Outlook profile or specific profiles No ratings yet.

I wrote this MAPI application for a customer the other day. The application uses the Outlook 2010 MAPI headers and some of the header files shipped with MFCMAPI. They are all included in the attached archive. You can run the…

Read More

MAPI Application: How to programmatically enable Cached Exchange Mode in existing Outlook profiles No ratings yet.

Note: You need to use the Outlook MAPI header files with this code.   The exe uses two switches –A for processing all the profiles and –N followed by a profile name for processing a specific profile.   1: //…

Read More

MAPI Application: How to programmatically create a blank MAPI profile No ratings yet.

Note: You need to use the Outlook MAPI header files with this code.   1: // MAPICreateBlankProfile.cpp : Defines the entry point for the console application. 2: // 3:  4: #include "stdafx.h" 5: #include <iostream> 6: #include <InitGuid.h> 7: #define…

Read More