Dan's WebDAV 101

This blog covers Messaging API development for Exchange and Outlook. My name is Daniel Bagley, I'm on the Messaging Developer Team.

Browse by Tags

Tagged Content List
  • Blog Post: EWS PUSH - What is the StatusFrequency for

    The StatusFrequency value used in EWS Push notifications is often misunderstood. So, I will try to provide some information on this setting which may help. The important thing to understand: StatusFrequency is really not a "frequency" - it’s a maximum timeout value based upon the maximum number...
  • Blog Post: The importance of EWS Impersonation while using an application account.

    Developers of applications which require access to user mailboxes often struggle with the choice between the Impersonation and Delegation access methods. While both provide programmatic rights to mailbox objects, they are designed to meet rather different needs, and for situations where a single account...
  • Blog Post: Howto: Set the organizer of a meeting on the calendar of an attendee using EWS.

    I would like to say that this is something which is easily possible - however, I cannot. Setting the organizer directly in code is not supported. Historically, having the organizer over-writable has caused some pretty bad situations for customers. When a meeting is created, the organizer property is...
  • Blog Post: Howto: Example to retrieve the body property of a message using the Exchange Managed API.

    public string GetItemMime(ItemId oItemId) { string sReturn = string.Empty; PropertySet oMimePropertySet = new PropertySet(ItemSchema.MimeContent); Item oItem = Item.Bind(_ExchangeService, oItemId, oMimePropertySet); return oItem.MimeContent.ToString() ; } public string GetItemMime...
  • Blog Post: Howto: Example to retrieve the html body property of a message using the Exchange Managed API.

    public string GetMessageBodyAsHtml(Item oItem) { string sRet = string.Empty; PropertySet oPropSet = new PropertySet(PropertySet.FirstClassProperties); oItem.Load(PropertySet.FirstClassProperties); PropertySet oPropSetForBodyText = new PropertySet(PropertySet.FirstClassProperties...
  • Blog Post: Howto: Example to retrieve the body property of a message using the Exchange Managed API.

    public string GetMessageBody(Item oItem, BodyType oBodyType) { string sRet = string.Empty; PropertySet oPropSet = new PropertySet(PropertySet.FirstClassProperties); oItem.Load(PropertySet.FirstClassProperties); PropertySet oPropSetForBodyText = new PropertySet(PropertySet.FirstClassProperties...
  • Blog Post: Consider the full impact of Exchange Set-MailboxCalendarSettings and Set-CalendarProcessing before changing settings

    Many messaging developers and Exchange administrators are not aware of possible effects of MailboxCalendarSettings settings. While these options provide much needed capabilities which remove the need for specialized code, caution should be exercised as MailboxCalendarSettings can drastically affect any...
  • Blog Post: Howto: Read OOF info using EWS and VBScript against an Exchange 2010 SP1

    ' Here is a code sample showing how to read OOF info using EWS from VBScript against an Exchange 2010 SP1 box. Const strUrl = " https://mail.mycompanyetc.com/ews/exchange.asmx " ' TODO: Change Const strUser = "myuserid" ' TODO: Change Const strPass = "mypassword" Const strDom = "myusersdomain...
  • Blog Post: Howto: Set multiple extended properties on a folder using raw XML for EWS with a POST

    Hmmm, there are very few samples on setting multiple extended properties on folders using a POST to EWS... so, I thought I would blog one. This sample can be used with: http://blogs.msdn.com/webdav_101/archive/2009/02/27/howto-post-xml-to-ews-using-exchangeservicebinding-credentials.aspx ...
  • Blog Post: Howto: Post XML to EWS using ExchangeServiceBinding credentials.

    Here is a sample which shows how to use the connection of the Exchange Service Binding to do a POST to EWS using an XML string. // Sample calling code: private void cmdExecute_Click( object sender, EventArgs e) { string sRequest = string .Empty; bool bRet = false ; string...
  • Blog Post: Example: How to use PS_INTERNET_HEADERS with cdo 1.21 for custom properties.

    'This example uses PS_INTERNET_HEADERS for setting a custom property const smbx="mymailbox" ' TODO: Change const ssrv="myserver" ' TODO: Change const mycdoInetPset = "8603020000000000C000000000000046" const myXheader = "X-SPAM" ' TODO: Change to your property set oses=createobject("mapi.session...
  • Blog Post: Sample: Howto display a list of calendar items in ListView using EWS

    Here is a helpful sample of using EWS to get a list of calendar items and displaying them in a ListView. You should be able to use this with he sample I published prior on creating a CalendarView: Sample: Using Calendar Views with EWS. http://blogs.msdn.com/webdav_101/archive/2009/01/05...
  • Blog Post: Example: Returning a list of attachments using EWS

    Here is a sample on getting and returning a list of attachments on an item using Exchange Web Services (EWS). // //----------------------------------------------------------------------------------------- // GetAttachmentsList. // Gets a list of file attachemnts on an item and puts them into...
  • Blog Post: Links on Common Exchange Web Services (EWS) Questions

    I've put together a list of articles which cover common questions on Exchange Web Services (EWS). These links cover issues from starting out to common problems. I hope they help. Please let me know if there is anything important to add. Getting Started: Web Services http://msdn.microsoft...
  • Blog Post: Dynamic list of properties versus explicit properties

    With messaging APIs, you can retrieve a list of properties dynamicly or by specific property name. For example with WebDAV, ALLPROPS will return a set of properties on a item. There are issues with trying to get a full list of properties. First of all, ALLPROPS does not equate to all properties. In fact...
  • Blog Post: Reading and changing OWA Settings

    In OWA 2003, there were OWA settings mirrored in properties on the root folder of mailboxes which WebDAV could get to. There was limited support for accessing a few of these properties with WebDAV. The online docs still state that these properties are there, however this is not really true for OWA 2007...
Page 1 of 1 (16 items)