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.

July, 2008

Blog - About

About WebDAV 101

Hello;

This blog covers messaging development for Exchange and Outlook.  I'm in the group which does support for messaging APIs.  I don't have much time to blog, however I add what I can.

Thanks,

Dan

  • Dan's WebDAV 101

    Adding Inline Attachments with CDOSYS and System.Net.Mail.

    • 0 Comments
    In the following samples, I'm going to send an inline attachment using CDOSYS and System.Net.Mail (SNM). Lets say you have an html document with text above and below a jpg file and you want this document inside of a message you are going to send. Below...
  • Dan's WebDAV 101

    HOWTO: Set and Get the a multibyte (Japanese, Chinese, Etc) custom header with CDOSYS

    • 1 Comments
    Custom headers in multibyte languages (Japanese, Chinese, etc) will not be encoded properly when set using CDO alone. They may appear to be correctly set, however when read back on a recieved message they may be messed-up. Here is an example of a Japanese...
  • Dan's WebDAV 101

    WebDAV: XML DOM vs managed classes.

    • 1 Comments
    I've seen a lot of issues with using the MSXML DOM when trying to get credentials from the owaauth.dll for FBA authentication. The managed classes seem to work all the time and in all versions. However, the MSXML DOM wont always reuturn cookies and...
  • Dan's WebDAV 101

    My .EDB file grows when I search.

    • 5 Comments
    When doing a WebDAV or any other search, you will likely see the .EDB file expands. When performing a search against a mailbox using WebDAV or any other API, you may see the .EDB file grow in size. Don't panic, this is normal. When a search is performed...
  • Dan's WebDAV 101

    Howto: Add a body part to a message using CDOSYS.

    • 0 Comments
    The sample below shows how to add an additional body part to a message using cdosys. This example demonstrates adding a "text/calendar" (vcalendar) body part, however it should be possible to use this to add "text/plain", "text/html" and other types....
  • Dan's WebDAV 101

    Howto: Add a body part using System.Net.Mail

    • 0 Comments
    The sample below shows how to add an additional body part to a message using System.Net.Mail. This example demonstrates adding a "text/calendar" (vcalendar) body part, however it should be possible to use this to add "text/plain", "text/html" and other...
  • Dan's WebDAV 101

    Example of setting headers with System.Web.Mail

    • 1 Comments
    //============================ Optional Settings ======================== if (this.Priority.Length != 0) { if (this.Priority == "Non Urgent") { oMsg.Priority = System.Web.Mail.MailPriority.Low; }; if (this.Priority == "Normal") { oMsg.Priority = System...
  • Dan's WebDAV 101

    Example of setting headers with CDOSYS

    • 1 Comments
    //============================ Optional Settings ======================== if (this.Priority.Length != 0) { // Well... it seems that priority is not what needs to be set to get priority set... // Looks like setting importance will set priority... at...
  • Dan's WebDAV 101

    Example of setting headers with System.Net.Mail

    • 1 Comments
    Here is a partial sample on setting header fields with System.Net.Mail: //============================ Instance Message =========================== oMsg = new System.Net.Mail.MailMessage(); //============================ Optional Settings =====...
Page 1 of 1 (9 items)