Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » script   (RSS)

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: WebDAV COPY using VBScript

' This example shows how to do a COPY of a message to a folder. 'NOTE: ' • Copying or Moving items across stores is not supported (that includes maiboxes) ' • You will get a 404 (Resource Not Found) if the source item does not exist. ' • A status of 204

Howto: WebDAV MOVE using VBScript

' This example shows how to do a MOVE of a message to a folder. 'NOTE: ' • Copying or Moving items across stores is not supported (that includes maiboxes) ' • You will get a 404 (Resource Not Found) if the source item does not exist. ' • A status of 204

Howto: WebDAV PUT using VBScript

' This example shows how to do a PUT of a message to a folder. What is being written with a PUT would ' be the MIME of a message and such MIME can also contain the MIME of the message. PUT works against ' messaging items directly such as mail messages.

Howto: WebDAV GET using VBScript

'The example below demonstrates how to do a WebDAV GET. ' GET works against items and attachments. When used against an item, it give you ' the mime stream of both the message and attachment. You cannot get the mime of only the message ' if there are

Howto: WebDAV PROPFIND using VBScript

'The example below demonstrates how to do a WebDAV PROPFIND. Note: PROPFINDs are non-conditional. Use a SEARCH for reading properties conditionally. dim sHREF dim sUserName dim sPassword dim sResponse Dim HttpWebRequest dim sReq ' Body Proppatch statement
 
Page view tracker