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: Getting a list of mailboxes with WebDAV

    OK, WebDAV does not have the ability itself to get a list of mailboxes. However you can use other APIs and even use an OWA call to get a list of mailboxes. Reading the GAL: WebDAV itself cannot do this. You could use the OWA GALFIND command, which has some limited ability. You could also...
  • Blog Post: Howto: Get Free/Busy Information with WebDAV/HTTP

    CDO 1.21, CDOEX, etc can get Free/Busy information, however WebDAV cannot directly. You may use a GET against OWA to get this information. A GET against an OWA URL is really not a WebDAV call… it’s really just plain HTTP GET call – you just need to be sure that the URL is correctly formatted. Most OWA...
  • Blog Post: Why can't I COPY or MOVE items across stores - i.e. mailboxes, public folders, servers?

    COPY and MOVE will fail with a 502 error when trying to work across stores - not supported. You could read the MIME of messages with a GET and use PUT to write the contents to the new location - this will simulate a COPY. Custom properties and storage properties will likely not get copied. You can try...
  • 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: Send Email With Attachment Using VB and WebDAV

    To send an email with WebDAV, you will you will need to create/recreate the item with a WEBDAV PUT using the MIME of the message. It gets tricky when working with attachments. To get around the complexity of sending an email with an attachment, you may want to look at using CDOSYS to build the message...
  • 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: 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 (10 items)