MAPI Developer: Download latest MFCMAPI from the Github

As you aware that MFCMAPI provides access to MAPI stores to facilitate investigation of Exchange and Outlook issues and to provide developers with a sample for MAPI development. If you look to download the latest MFCMAPI (x86/x64) then you can get it from the Github @ https://github.com/stephenegriffin/mfcmapi Hope this helps.


Fix: Use autodiscover service to receive connection settings during OpenMsgStore() call

Today we released the hotfix which provides the ability for non-Outlook MAPI applications to use the Autodiscover service to receive connection settings during IMAPISession::OpenMsgStore, when the target is an Exchange mailbox. To enable this ability, install April 5, 2016, update for Outlook 2013 (KB3114941), and then follow these steps described at https://support.microsoft.com/en-us/kb/3114974 Hope this helps.


MAPI Developer: MAPI call (lpFolder)->OpenEntry() takes 2 minutes to open messages in mailbox

Recently I was working with a MAPI developer and came across this interesting issue. We noticed their custom MAPI application takes 2 minutes to open the messages in a given mailbox. Further troubleshooting we noticed they see this behavior with the MAPI call, (lpFolder)->OpenEntry(). It takes 2 minutes to open messages in a given mailbox…


Step-by-Step : Accessing Exchange mailbox using Exchange MAPI/CDO and MFCMAPI

One of my customer updated that he downloaded the MFCMAPIat his Exchange Server 2010/2013, when he ran he noticed the following error – he wanted to access the exchange mailbox programmatically. Then he noticed the following error as well: To start with he needs Exchange MAPICDO, as Microsoft Exchange MAPI and CDO 1.2.1 provide access…


MAPI developers: MAPI/CDO library discontinued from Exchange 2016…

If you’re an Exchange MAPI developer/ISV/Vendor who relies on Exchange MAPI/CDO then this blog post is for you. Do you know Exchange MAPI/CDO library is discontinued from Exchange 2016? Please refer @ “What is discontinued at Exchange Server 2016” which talks about the same (refer snapshot as well) and provides recommendation moving forward as well……


MAPI Developer: How to get file properties for .MSG file using MrMAPI tool?

Based on my earlier article, recently I got the below request from MAPIDevil (MAPI developer). Adding the detailed request:  In general, you can do this same stuff with either MFCMAPI utility or ended up by creating customer MAPI application. For this specific scenario again I tried my hands with MrMAPI command-line utility – it’s very…


Calculating file size, free space of any given .PST file with MrMAPI utility

Earlier in my blog, i got the request from one of the MAPI developer to see is there any way we can calculate the file size, free space of any given .PST file. Also he pointed that he can access the PST file using Stephen’s MFCMAPI utility. For this activity, I used Stephen’s another tool…

2

MAPI: How to programmatically get autocomplete cache/entries for OWA 2013?

In continuation of my earlier post, I got few additional queries how to programmatically (using MAPI) get autocomplete cache/entries for OWA 2013. I used latest MFCMAPI as a code sample to achieve this. Download latest MFCMAPI from http://mfcmapi.codeplex.com Select “Session” Menu > Select “Logon” > select profile > Open the “store” > select  “Root Container”…

2

Download: Exchange MAPICDO (March 2014) released

Yesterday we released the latest Exchange MAPICDO (March 2014) and its version is 08.03.0.8353.000. You can download it from @ http://www.microsoft.com/en-us/download/details.aspx?id=42040. Note: Make sure to uninstall the earlier version (if you have installed it earlier) and install the latest one. For additional info, you can refer Steve’s blog post.

5

MAPI Developers: Create profiles programmatically to connect Exchange 2013/Legacy Exchange versions, Office 365

As Stephen updated earlier, Dave had published series of blog posts (given below) which helps you to create Outlook profiles programmatically using MFCMAPI utility to connect Exchange Server 2013/legacy versions of Exchange, Office 365. Adding them for your reference. How to use MFCMAPI to create a MAPI profile to connect to Exchange 2013 using latest version of…


Office Developer: How to programmatically restrict or filter “To” property using Outlook Object Model?

In this post, we will see how to programmatically filter/restrict items “To” property. Let we take this scenario. In Outlook, we notice it contains 6 items “To” property containing “Deva G”:   Note:In specifying a filter in a Jet or DASL query, if you use a pair of single quotes to delimit a string that is…

1

Outlook : How to regenerate free/busy information using MFC MAPI?

Recently one of my customer reported that Outlook is not showing latest free/busy information for selected users. Initially they tried the following steps for the affected users: Exit Outlook Open Command prompt > Open Outlook with cleanfreebusy switch (outlook.exe /cleanfreebusy) It failed to resolve the issue.   During troubleshooting we noticed that these issue may occur…

5

MAPI Developer: API elements deprecated in Outlook 2013

Are you an MAPI developer? Then, this article is targetted for you. The API elements (like, IXPLogon::RegisterOptions, OPTIONDATA, OPTIONCALLBACK, IMAPISession::MessageOptions, IMAPISession::QueryDefaultMessageOpt, IAddrBook::RecipOptions, IAddrBook::QueryDefaultRecipOpt)  are deprecated in Microsoft Outlook 2013. They are no longer supported and you should not use them in new projects. These API elements are deprecated in this release because of obsolete message…