Exchange API-spotting

When FindItem won't get what GetItem has!

Okay, all you Exchange Web Services programmers out there. Since probably half of you have asked this question already, let me save the other half from half a day of half insanity trying to figure it out. The question in question? “Where the @#$($ is the message Body?”

When you’re using Exchange Web Services to retrieve messages from an Inbox, if you need to get the message Body or attachments, you need to use GetItem. Yeah, we know that FindItem would seem to get you there, especially with the AllProperties BaseShape. But, it doesn’t.

Check out the new Exchange Server Developer Center article, Finding the Message Body, for the full scoop on which properties GetItem and FindItem return. You’ll be glad you did.

Published Monday, April 30, 2007 11:49 PM by Thomr

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Submit

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker