How to configure an Outlook 2016 profile using MFCMAPI
The process for creating a Outlook profile in Outlook 2016 has changed. This article documents the simple steps to create one using MFCMAPI. Note: For non-developers this is not the recommended way of...
View ArticleIMAPISession::OpenMsgStore() returns MAPI_E_VERSION (0x80040110)
As documented previously, Exchange 2016 will not allow connections from Exchange’s MAPI (aka MAPI \ CDO). MAPI client applications may receive the error MAPI_E_VERSION (0x80040110). If you are...
View ArticleMAPILogonEx causes crash if Version Info is not specified on the module
I wanted to create a simple Extended MAPI application that would call MAPIInitialize() followed by MAPILogonEx(). Seems simple right? I do it all the time. However, this time, for whatever reason,...
View ArticleMAPILogonEx() may appear to hang in Outlook 2016
I had a case recently where the customer was had written a service application using Extended MAPI. The customer found that in his test environment the call to MAPILogonEx() was hanging and not...
View ArticleProgrammatically connecting to another mailbox when MAPI / HTTP is used
I’ve been meaning to create this post for a while, but haven’t got around to it. I had a case recently where a customer wanted to connect to a user’s Archive mailbox for which the service application...
View ArticleHow to indicate that a profile targets a consumer account
I had a case recently where the customer was using my post for creating a Outlook 2016 profile programmatically and found that the program would hang when performing certain MAPI operations. This only...
View ArticleAccess to the Recovery Database in Exchange Server 2016 from an application
I have had several customers interested in how to access the Recovery Database (RDB) programmatically in Exchange 2016. Extended MAPI is the only way to access the Recovery Database programatically....
View ArticleHow to create an profile that uses MAPI/HTTP in Outlook 2013
I had a case recently where the customer wanted to know how to programmatically create a MAPI over HTTP profile using Outlook 2013. A few years ago I had developed a little sample to do just that, but...
View ArticleTime Travel Debugging now in preview
I know I'm a little late to the party, but I just came across this and I'm very excited about its release. I've been using TTD for over 10 years internally and it is an awesome tool to capture issues...
View ArticleOutlook sends 3DES when I’ve chosen AES 256
We see this as common question in Microsoft Support so I wanted to lay out the approach Outlook for Windows takes to determine what encryption algorithm is chosen when sending encrypted email to a...
View Article