How to get the original body type of a message without getting the best body of the message using EWS.

The PidTagNativeBody property (Property ID, 0x1016; Data Type 0x0003 (PtypInteger32)) should reflect the format of the body when a normal email message arrives in the inbox (not counting calendar messages such as meeting requests, etc.).  If the message is signed, you would need to dig into it to figure out what it is.                  …


GetUserAvailability errors with non-DST timezones using the Exchange Managed API 1.0.

If you see “The Month parameter must be in the range 1 through 12.” thrown using the 1.0 version of the Exchange Managed API when dealing with non-DST timezones, then you should look at upgrading to the 1.1 version of the Exchange Managed API – the issue should be fixed in that version.


Detecting Heap Corruption Using GFlags and Dumps

Heap corruption is very bad since it means that memory in the process is smashed (overwritten).   This typically occurs when an application allocates a block of heap memory of a given size and then writes to memory addresses beyond the requested size of the heap block. Heap corruption can also occur when an application writes…


Howto Check for third-party Add-ins and ECEs loaded with Outlook

To check if third party Add-ins or Exchange Client Extensions are registered to run in Outlook:         Click Start | Run | Type on the Open line (without the quotes) “Regedit” and click OK   Add-ins registered here are user specific and will show in Outlook’s add-in menu:   HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Add-Ins   Add-ins registered here…


Outlook slow opening folders with custom store.

If you are experiencing slow behavior by Outlook, it may be due to crawling.  Crawling in this case refers to when Outlook will go through your folders.  Custom store providers will often run into this issue since they often are providing the ability to store a massive amount of items and crawling kills performance to…