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…


Supportability matrix for Microsoft Exchange Server 2007, 2010 and 2013 versions

The Exchange Server Supportability Matrix provides a central source for Microsoft Exchange administrators to easily locate information about the level of support available for any configuration or required component for supported versions of Microsoft Exchange. You can refer the supportability matrix here – all of them documented in a single place. It talks about Release…


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…


FIX: Installation runs every time you start Outlook 2013 on Windows Server 2008 R2…

Recently I was working with one of my customer, where they installed Outlook 2013 (32-bit) on Windows Server 2008 R2 (64 bit) environment. Every time when you start Outlook 2013, it runs an installation (Microsoft Office 64-bit Components 2013) – just like the below. I know it’s strange. They tried repairing/fresh install, updated latest fixes…


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

Analyze Microsoft Office programs problems, issues using OffCAT 2.0

The Microsoft Office Configuration Analyzer Tool (OffCAT) 2.0 provides a quick and easy way to analyze Microsoft Office programs for known configurations that cause problems.  Now with latest OffCAT 2.0, it provides a detailed report of your installed Office programs. This report includes many parameters about your Office program configuration and highlights known problems found…

1

After migration VS 2013 C++ project throws error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified.

Like earlier, I was involved in migration of VS 2013 C++ Outlook add-in project which was created in Visual Studio 2010. During the compilation I encountered the following error: In general, CL.exe is Visual Studio Compiler. So it should be in your Visual Studio installation directory. if there is no cl.exe in the directory, then…

2

After migrating to VS 2013 C++ Outlook add-in throws error MSB6006: "CL.exe" exited with formula –1073741515

Recently I tried migrating the C++ Outlook add-in project (https://msdn.microsoft.com/en-us/library/office/ee941475(v=office.14).aspx). This project was created in Visual Studio 2010 and we tried migrating to Visual Studio 2013.  During compilation, I encountered the following error: error MSB6006: "CL.exe" exited with formula –1073741515 The same code compiled, worked successfully in Visual Studio 2010. We haven’t done any changes…


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

Workaround: Command (send to > Mail recipient or File > Send as attachment) might not work when Outlook 2007 / 2010 is running and installed side-by-side with Outlook 2013

When Outlook 2007 or Outlook 2010 is running and installed side-by-side with Outlook 2013, Outlook shows the following message when you click Send To > Mail Recipient in Windows Explorer or click File > Send As Attachment in another program: This action is not supported while an older version of Outlook is running In order…