About: Exchange Store Sinks

API Interface: COM interface implementation hosted in COM+. Business Logic: Store sink interfaces do not add or enhance business logic, see ExOLEDB  or CDO for Exchange (CDOEX). Language Support: All COM compatible languages including .NET. Direct Property Access: Item access performed by ExOLEDB or CDO for Exchange (CDOEX). Product Versions: Exchange 2000, 2003, and 2007.   Summary:…

0

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…

5

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

2

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 System.NetImports System.WebImports System.IO…

2

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 ‘…

3

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 (No Content) will be returned…

0

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 (No Content) will be returned…

0

Howto: WebDAV PROPPATCH using VBScript

‘The example below demonstrates how to do a WebDAV PROPPATCH.’The sample changes the subject of one message in the inbox. ‘ Note: You cannot specify a condition with a PROPPATCH; ‘ Note: Understand how the Depth header affects patching and you should understand how its used          before using any other setting than 0. dim sHREFdim…

0

Howto: WebDAV SEARCH with range headers using VBScript

 ‘The example below demonstrates how to do a WebDAV SEARCH with range headers. Public Function GetItemListXML(sHREF, sUserName, sPassword, sDepth)    Dim sQuery ‘ As String    Dim sText ‘As String        sQuery = “<?xml version=’1.0′?>” & _       “<g:searchrequest xmlns:g=’DAV:’>” & _       “<g:sql>SELECT “”DAV:displayname””, ” & _       “””DAV:href””  ” & _       “FROM SCOPE(‘SHALLOW TRAVERSAL OF “”” & sHREF…

0

Howto: WebDAV SEARCH using VBScript

‘The example below demonstrates how to do a WebDAV SEARCH  dim strExchangeURL dim strApptStartDate dim strUser dim strPasswordstrUser  = “Administrator”strPassword = “test” strExchangeURL = “http://myexserver/exchange/Administrator/Calendar/”strApptStartDate = “2004-04-09T15:00:00Z”Dim sRet strQuery = “<?xml version=’1.0′?>” & _”<g:searchrequest xmlns:g=’DAV:’ >” & _”<g:sql>SELECT  ” & vbCrLf & _        “””urn:schemas:calendar:alldayevent””, ” & vbCrLf & _        “””urn:schemas:calendar:duration””, ” & vbCrLf & _       …

0