December 2008 Entries

Hunting those elusive Public Folders using Exchange Web Services (Part 3)

In the last two posts (Part 1, Part 2) I've been going over some of the API calls to the Exchange Web Services, and so far we have retrieved an Item, but not any of the attachments held therein... So, lets go get that attachment! We have an ItemType, which lets us know we have attachments, and now will even let us pull some basic properties but not to save... so, how do we save? What we're (well, *I'm*) going to do is get the Item, then if it has attachments, save the attachments to my temp directory, ......

Hunting those elusive Public Folders using Exchange Web Services (Part 2)

In the first of these posts, we created a binding to the Exchange Web Services (EWS) and managed to hunt down our public folder identity. But, as we left it, we're now stuck with just the identity and not anything else. Really, we want the items from inside a given folder, and to do that we need to use the 'FindItems' API call.. FindItems needs a FolderId and of course the our old friend - the ExchangeServiceBinding (see part 1 for how to create that!). Once again, in a familiar pattern, we need ......

Hunting those elusive Public Folders using Exchange Web Services (Part 1)

Recently the Exchange server at work has been upgraded to an Exchange 2007 SP1 server. With this has come the chance to finally get rid of the MAPI CDO solutions we have, by switching to using Exchange Web Services (EWS). I've spent quite a while looking for easy ways of doing this, and for the majority of the time, it seems ok, but the biggest issue I've had (and unfortunately the solution I needed) was accessing public folders. Specifically public folders in a hierarchy. Public Folders\ \Testing ......