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.


Developer: How to find bitness (x86 or x64) of a given application?

I hear this query a lot how to find a bitness of a given application. Recently one of my customer followed by blog post and asked is there any alternate way exists to find out the bitness of installed Outlook in your environment.  He is an app developer, so he installed Microsoft Visual Studio at…


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 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

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…


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_E_FAILONEPROVIDER" when you try to connect to a mailbox on an Exchange 2010 from an Exchange 2003 server

Recently one of my customer updated that when he tried connecting to a mailbox that is located on a  Exchange Server 2010 from Exchange Server 2003 by using a custom MAPI/C++ application. But it failed and it thrown the following error message: “MAPI_E_FAILONEPROVIDER”. As part of troubleshooting the issue, we tried using MFC MAPI utility…


Tutorial : Organizational Forms Library – Series # 2

Can we create it programmatically? To create it programmatically using MAPI, we need to make use of CreateFolder(), the MAPI function. It is necessary to have very special privileges (obtained by opening the store with an EntryID created using IExchangeManageStore::CreateStoreEntryID()) to get it to work. Please refer the following KB to create Org. forms library…