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

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

MAPI Application: How to remove an existing additional Exchange mailbox from a MAPI profile in Outlook No ratings yet.

Following my post How to add more Exchange mailboxes to a MAPI profile in Outlook 2010 (KB 171636) you can find below a code sample that allows you to remove an existing additional Exchange Mailbox from a MAPI profile. //RemoveMailbox.cpp…

Read More

MAPI Application: How to add more Exchange mailboxes to a MAPI profile in Outlook 2010 (KB 171636) No ratings yet.

We have recently had a few cases where the customers were having some issues with using the code published in the Knowledge Base article 171636 (How to add more Exchange mailboxes to a MAPI profile) with Outlook 2010. When running…

Read More