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…

11

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…

1

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…

5

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…

5

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 ‘…

3

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…

1

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 enumerate attachents…

1

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 sHREFdim sUserName  dim sPassword  dim sResponse  dim HttpWebRequest dim sHREFdim sUserName  dim sPassword  dim sResponse  dim HttpWebRequest sHREF = “http://myserver/exchange/Administrator/Inbox/testabcd.EML”  ‘ TODO: change as neededsUserName = “Administrator”    ‘ TODO: change – needed for Basic AuthenticationsPassword =…

3

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 for Exchange.  You will find information on the…

2