Wrapped PST Sample Updated for Outlook 2013

I’ve just checked in a fix for the Wrapped PST sample that should allow it to work with Outlook 2013. Let me know if you find any problems with the sample. I haven’t tested the other samples yet as they don’t appear to get as much attention as the wrapped PST. Enjoy!


When to Build a Mail App

Here’s a nice article on choosing between mail apps and add-ins for Outlook development: http://blogs.msdn.com/b/officedevdocs/archive/2012/12/10/when-should-i-choose-to-create-a-mail-app-versus-an-add-in-for-outlook.aspx Bottom line: if you can do what you need to do from a mail app, it’s the way to go, especially since apps developed for Outlook will work in OWA..


Parsing the POP3 UIDL History

In my previous post, we discussed how to locate Outlook’s POP3 UIDL history. Now that we have the blob, let’s look at how to parse it: POPBlob Structure: Version (2 bytes): Must be PBLOB_VERSION_NUM (3) Count (2 bytes): Count of resource tags Resource tags (variable): 0 or more null terminated UTF-8 strings encoding the resource…


Locating the POP3 UIDL History

When Outlook’s POP3 provider syncs with a POP3 mailbox and the user chooses to leave a copy of the messages on the server, it has to remember which messages it has already downloaded so it doesn’t accidently download the same message twice. It does this by tracking the UIDL of each message it has downloaded…


MAPICDO and Exchange Server 2013 (Update)

I’ve just been given permission to announce we’re targeting the release of the updated MAPICDO which will support Exchange 2013 to coincide with the release of Exchange 2010 SP3. Exchange 2010 SP3 was announced a while back on the Ehlo blog. As you can see from that announcement, SP3 provides much needed changes to allow…


October 2012 Release of MFCMAPI and MrMAPI

The (very late) October 2012 Release (build 15.0.0.1036) is live: http://mfcmapi.codeplex.com. As part of my work to get MFCMAPI and MrMAPI working well in side-by-side scenarios where both Outlook 2013 and an earlier version of Outlook are installed, I’ve added a –version switch to MrMAPI. This will help us ship builds of OCAT that work…


MAPICDO and the Impersonation Hang

So – there’s a potential hang in the current builds of MAPICDO, but you can avoid it, so it doesn’t have to be a huge problem. The repro scenario for the hang is this: You’ve got an application which does thread level impersonation and also uses MAPI. Your application starts up multiple threads under different…


MAPICDO and Exchange Server 2013

I’ve just been given clearance to publicize this since apparently it was discussed at MEC: The MAPICDO download *will* be updated to support Exchange Server 2013. This is important because: As has been discussed, Exchange Server 2013 will only allow MAPI connections over RPC/HTTP, aka Outlook Anywhere. RPC/HTTP is (until now) only implemented in Outlook’s…


MAPICDO, Distribution Lists, and Exchange 2010

One of the lesser known tricks in MAPI is that when you open a distribution list (MAPI_DISTLIST) from an address book using OpenEntry, if you don’t specify an interface what you get is not an IMailUser, but is in fact an IDistList, which inherits from IMAPIContainer. This gives you a means to access the members…


August 2012 Release of MFCMAPI and MrMAPI

The August 2012 Release (build 15.0.0.1035) is live: http://mfcmapi.codeplex.com. In honor of the Outlook 2013 Preview, this month I’ve decided to turn MFCMAPI blue. Along the way, I was able to fix a number of nagging flicker issues, as well as fix the system button placement on XP systems. However, the changes I made for…