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: Inline attachments used with EWS and Text, HTML, MHTML or MIME

    Exchange Web Services has three different ways to set message body content when working with messages – setting the Text body, setting the html body or creating the message using email MIME (note that there are different types of MIME). Images which are directly with HTML content are not supported...
  • 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: WebStoreExplore 1.8.3 is now public

    In the past, the team I belong to has made vailable "super samples" which provide a broad range of coverage-by-example around specific messaging APIs - these are often referred to as API Explorers. Two examples of these are MFCMAPI (for Extended MAPI) and EWSEditor (Exchange Web Services). There is a...
  • Blog Post: Don't redistribute product DLLs unless you know its safe and legal to do so.

    Redistribution of files in the “ C:\Program Files\Microsoft\Exchange Server ” folder and sub-folders is not advised/supported. Yes, this does include the “C:\Program Files\Microsoft\Exchange Server\Public” folder also. These files are installed when the Exchange 2007 (or later) tools are installed. If...
  • Blog Post: Exchange Protocol Documentation

    Microsoft released preliminary protocol documentation for Exchange 2007 (as well as Microsoft Office 2007 and SharePoint Server) as part of Microsoft's Interoperability Principles. The Exchange protocols are now publicly available on the Open Protocol Specifications section of MSDN in preliminary form...
  • Blog Post: Exchange Protocol Documentation

    Microsoft released preliminary protocol documentation for Exchange 2007 (as well as Microsoft Office 2007 and SharePoint Server) as part of Microsoft's Interoperability Principles. The Exchange protocols are now publicly available on the Open Protocol Specifications section of MSDN in preliminary form...
  • Blog Post: Howto Add an Attachment with Webdav

    There is no mechanism to add an attachment in WebDAV. You will need to create/recreate the item using a WebDAV PUT. The text you would be putting would be the mime of the item, which also contains the attachment. It’s useful here to use CDOSYS to create a message and add an attachment – then extract...
  • Blog Post: Howto: WebDAV X-MS-ENUMATTS using VBScript to enumerate attachments

    ' This example shows how to enumerate attachments on a message. X-MS-ENUMATTS will ' return phantom urls to attachments on the message. These URLs can be used with GET ' and DELETE (starting with Exchange 2003 SP1). ' For listing and reading an attachment, you will first need to get a list of attachments...
  • Blog Post: Howto: WebDAV PUT using VBScript

    ' This example shows how to do a PUT of a message to a folder. What is being written with a PUT would ' be the MIME of a message and such MIME can also contain the MIME of the message. PUT works against ' messaging items directly such as mail messages. It cannot be used to add an attachment without ...
  • Blog Post: Howto: WebDAV GET using VBScript

    'The example below demonstrates how to do a WebDAV GET. ' GET works against items and attachments. When used against an item, it give you ' the mime stream of both the message and attachment. You cannot get the mime of only the message ' if there are attatchments on that message. Use X-MS-ENUMATTS to...
  • Blog Post: Howto: Get the MIME of an item from a mailbox.

    This VBSript sample uses WebDAV to read the mime of a message item and write it to disk. dim sHREF dim sUserName dim sPassword dim sResponse dim HttpWebRequest dim sHREF dim sUserName dim sPassword dim sResponse dim HttpWebRequest sHREF = " http://myserver/exchange/Administrator/Inbox/testabcd...
  • Blog Post: Building VCALENDAR content without an Microsoft API is not supported by MS.

    While Microsoft products follow many RFC guidelines for VCALENDAR/iCAL, it does not mean that they support development of VCALENDAR/iCAL directly. Microsoft has APIs which can build and read such content. Working with those APIs is supported; however working with VCALENDAR/iCAL text programmatically...
  • Blog Post: HOWTO CDOEX C#: How to extract VCalendar stream from an appointment.

    ' TODO: ' Create a C# Winform app ' Reference to Microsoft CDO for Exchange 2000 Server Library (COM) - this ' will add a reference to ADO automaticlly. ' NOTE: Do not add a reference to ADO or ADO.NET - this will cause interferance ' with CDOEX/CDOSYS (which you may not see until processing body parts...
  • Blog Post: Welcome to WebDAV 101

    Welcome to WebDAV 101. Here you will find information on WebDAV and other Messaging APIS which you might not find elsewhere. WebDAV 101 Training/White Paper: Attached is a document which provides a good introduction to WebDav for Exchange. It's bascily a white paper or training paper on WebDAV...
Page 1 of 1 (15 items)