O'Reilly logo

Inside Microsoft® Exchange Server 2007 Web Services by Huw Upshall, Mark Taylor, Ben Spain, Michael Mainer, David Sterling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Message Flags

When you use Exchange Web Services to create a draft message, the message appears in your mailbox, but clients such as Outlook Web Access and Office Outlook will indicate that the message has not yet been sent. There may be times where you want to create a message in the inbox that you never intend to send, and you would rather not have clients suggesting that the message should be sent. Underneath the covers, Office Outlook looks at a special MAPI property to determine if a message is a draft. Exchange Web Services surfaces this MAPI property via the IsDraft first-class property, which happens to be read-only.

Now, you can resort to extended MAPI properties to clear the IsDraft flag, although there is a catch. According to MSDN, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required