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: 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: Determine which Process Is It Running Under (Exchange and Outlook Development/Admin related)

    Understanding which process to use for tracing or taking a dump can be difficult if you are not familiar with where to look. This sections covers the where to look part. Desktop Application: Desktop applications will appear in their own process. COM+ Application: If the COM+ service...
  • Blog Post: Howto: Mail Enable, Mail Disable and view Mail settings for a Public Folder with CDOEX and CDOEXM

    If your living in a pre Exchange 2007 Powershell worlds and want to mail enable or disable public folders, you may come to the point where you will be needing to write some CDOEX and CDOEXM code to do what you want. Below is a C# sample console application which will allow you to mail enable, mail disable...
  • 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: WebDAV FBA Authentication Sample Explained.

    Here is some basic information on how FBA authentication is done with WebDAV. To provide some insight into how this works, you should look at the sample code of KB891748 and review it with the explanation below. Note that if you are going against Exchange 2007, you should reconsider using FBA authentication...
  • Blog Post: WebDAV and OWA Authentication Settings

    With any login issue, it’s important to know which authentication protocols are valid. You have to code to an authentication protocol which can be used. The authentication settings for OWA and WebDAV are tied together under Exchange 2000 and 2003. Because of this, developers run into issues with...
  • Blog Post: Whats not supported with WebDAV?

    Ahhh thats a big one... What is supported: • Non-recurring appointments • Contacts in Microsoft Outlook that you create or modify • Folders that you create in Outlook and in Exchange 2000 Server or Exchange Server 2003 • E-mail messages that you create or modify "All other tasks that use the WebDAV...
  • Blog Post: Why can't WebDAV read BCC?

    Using WebDAV to read BCC information on messages (even in the Drafts folder) will not work. The “urn:schemas:mailheader:bcc” will not return the BCC information using WebDAV - this is expected behavior. If you do a GET against the message to get the MIME, then you will also not get the BCC - this also...
  • 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...
  • Blog Post: Drag and Drop with Outlook

    Drag and Drop with Outlook is not supported by code. However there are some techniques which can provide an item drag/drop effect. The idea is to write the item to a temporary .msg file and then use OLE CF_HDROP for the drop. Before we begin let me make this clear: There is no specific information...
  • Blog Post: Handling results of calling Powershell - Multivalued and string arrays.

    When calling PowerShell from managed code, you need to be aware of what is being returned and to not process properties returned always as strings. When you get information you were not expecting or no info returned from the call, you should look at TypeNameOfValue and see what is returned - this often...
  • Blog Post: Important developer changes for Exchange 2007 SP1

    RTM Exchange 2007 gives you WebSevices and PowerShell. The link below covers this. Technical Articles 2007 http://msdn2.microsoft.com/en-us/library/bb738396(EXCHG.80).aspx With Exchange 2007 SP1 you get a lot of cool new things which go way past the limitations of what the RTM could do...
Page 1 of 1 (12 items)