Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » attachments   (RSS)

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. // -----------------------------------------------------------------------------------------

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. // -----------------------------------------------------------------------------------------

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

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,

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.

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

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

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

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

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

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:

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,

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
 
Page view tracker