When I Say Shutdown, I Mean Shut. Down.

Ryan posted an article about some changes we’re making in Outlook 2007 SP2. The gist is we’re changing Outlook’s shutdown behavior to always shutdown regardless of whether there are other running applications using the Outlook Object Model. He’s looking for feedback on the logic change, so be sure to send him your comments.


Get The OOF Out Of Here

Dan asked if I could post some CDO sample code he was working on. This sample script demonstrates a few interesting things: Dynamic session creation Accessing the associated contents table of a folder using HiddenMessages Looping backwards through a collection so deletion doesn’t affect the cursor Accessing properties documented in the Protocol Docs (PidTagRuleMsgProvider and…


October 2008 Release of MFCMAPI

The October 2008 Release (build is live: http://www.codeplex.com/MFCMAPI Better late than never right? I’ve been trying to refresh MFCMAPI every two months, but wasn’t able to devote the time to it I would have liked with all the work I’m doing on the MAPI documentation refresh. I did need to get this release out…


Rewriting the From Address in Exchange 2007

So – we’ve got customers who had been using the Exchange 2007 Transport Agent’s OnRoutedMessage event as a place to rewrite From addresses. This broke in Exchange 2007 SP1 due to some tweaks we made to the transport pipeline to solve a variety of other issues. We’ve got a fix for this now in Exchange…


Did I Send That?

[This is now documented here: http://msdn.microsoft.com/en-us/library/ff960604.aspx ] We had a customer here who wondered why messages imported into MAPI using MIMEToMAPI always appeared as draft messages. This is because the default value of PR_MESSAGE_FLAGS includes the MSGFLAG_UNSENT flag. Now – if you know you want your messages to not appear as drafts, the thing to…