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: Comparing strings - a few samples

    I thought I would share some simple sample code which is useful for finding problems in string content. Here are three methods I wrote which are useful to see whats in a string and differences between strings. I use these with a simple program which uses two text boxes for pasting text into and a third...
  • Blog Post: System.Net.Mail with SSL to authenticate against port 465

    Sending mail using System.Net.Mail with SSL will fail: System.Net. NetworkCredential aCred = new System.Net. NetworkCredential ( "myacct" , "mypassword" ); SmtpClient smtp = new SmtpClient ( "smtp.mail.myserver.com" , 465); smtp.EnableSsl = true ; smtp.UseDefaultCredentials = false ; ...
  • Blog Post: Howto: WebDAV SEARCH using C#

    ' This example shows how to do a SEARCH using C# // C# Example to SEARCH a mailbox. // TODO: // Add a button and double click on it // Add a multi-line text box and make it big. // Add a project reference to System.Xml, an System.Net // Paste-in the code below // Do the TODO sections in the code....
  • 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: 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: EWS - Csharp - List unread inbox messages using a restriction

    // C# sample using Exchange Web Service Proxy classes to list unread messages in an inbox using a restriction. private void FindInFolder() { // TODO: Put this code into a winform and call from a button: // TODO: create 3 text boxes called txtRequest, txtResponse, txtItems // TODO: Set the properties...
  • Blog Post: HOWTO: csharp - powershell - call get-clusteredmailboxserverstatus with managed code.

    // HOWTO: csharp - powershell - call get-clusteredmailboxserverstatus with managed code. // Sample which calls get-clusteredmailboxserverstatus and returns a list of nodes. //TODO: //#1 - Create a C# winform application and add a button. //#2 - Add namespace reference statements (using statements): ...
  • Blog Post: HOWTO: csharp - Exchange powershell - call get-StorageGroupCopyStatus with managed code.

    This sample is good for both calling and for using with calling other commandlets and seeing what is returend - ie it breaks-down the return results in general. See, most examples I've found so far show only how to get exact properties and not just dump out specific ones. You should be aware of what...
Page 1 of 1 (8 items)