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: Inline attachments used with EWS and Text, HTML, MHTML or MIME

    Exchange Web Services has three different ways to set message body content when working with messages – setting the Text body, setting the html body or creating the message using email MIME (note that there are different types of MIME). Images which are directly with HTML content are not supported...
  • Blog Post: Consider the full impact of Exchange Set-MailboxCalendarSettings and Set-CalendarProcessing before changing settings

    Many messaging developers and Exchange administrators are not aware of possible effects of MailboxCalendarSettings settings. While these options provide much needed capabilities which remove the need for specialized code, caution should be exercised as MailboxCalendarSettings can drastically affect any...
  • Blog Post: Sample: How to get the number of file attachments with EWS.

    Since HasAttachments does not really give you the number of file attachments, we you will find that you need to work around it. You can use code like that below to get the real count of file attachments on an item. // ----------------------------------------------------------------------------...
  • Blog Post: Example: Populate a ListView with a list of attachments using EWS

    I thought it would be fun to blog another sample of getting a list of attachments using EWS. So, here is a handly method for populating a list of attachments. // ----------------------------------------------------------------------------------------- // GetFileAttachmentsListLv // Sets a...
  • Blog Post: Example: Returning a list of attachments using EWS

    Here is a sample on getting and returning a list of attachments on an item using Exchange Web Services (EWS). // //----------------------------------------------------------------------------------------- // GetAttachmentsList. // Gets a list of file attachemnts on an item and puts them into...
  • Blog Post: mailto - limitations and paths forward

    The mailto tag used in html content is used to load the default mapi client (email client) on the user's box when its link is clicked and have it display a window for sending email. The mailto link can contain basic information such as who the message, subject, etc. There are however some limitations...
  • Blog Post: Howto: Read Attachments - Webdav: System.Net.HttpWebRequest vs System.Net.WebClient

    I’ve run into issues with using a GET to read large attachments using HttpWebRequest. Because of this, I use System.Net.WebClient instead. Big attachments will have an error thrown back with HttpWebRequest, however it’s possible to GET the smaller ones. So, since System.Net.WebClient seems to work just...
  • Blog Post: Adding Inline Attachments with CDOSYS and System.Net.Mail.

    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 is the the basic HTML document. Notice that img...
  • Blog Post: Exchange Protocol Documentation

    Microsoft released preliminary protocol documentation for Exchange 2007 (as well as Microsoft Office 2007 and SharePoint Server) as part of Microsoft's Interoperability Principles. The Exchange protocols are now publicly available on the Open Protocol Specifications section of MSDN in preliminary form...
  • Blog Post: Exchange Protocol Documentation

    Microsoft released preliminary protocol documentation for Exchange 2007 (as well as Microsoft Office 2007 and SharePoint Server) as part of Microsoft's Interoperability Principles. The Exchange protocols are now publicly available on the Open Protocol Specifications section of MSDN in preliminary form...
  • 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 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: Howto: WebDAV PROPFIND using VB.NET

    ' This example shows how to do a PROPFIND using VB.NET ‘ VB.NET PROPFIND ‘ TODO: Create a VB.NET winform with a button and a big multiline text box ‘ TODO: Add references to System.Web, System.XML and System.IO ‘ TODO: Add the code to the form. ‘ TODO: Do the TODO sections in the code. Imports...
  • 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: VB/CDO 1.21 - Delete inbox message attachments over certain size

    Here is an example: 'How to read the Inbox messages and delete attachments over a given size using VB and CDO 1.21 ' This example deletes all jpg file attachments over a certain size in an inbox. Const CONST_MAX_JPG_ATTACHMENT = 3000 ' TODO: Change this - max jpg file size Dim sErrorMessage As String...
Page 1 of 1 (15 items)