HOW TO:Iterating through Exchange Mailboxes using CDO 1.21

I have seen many developers wanting to loop through multiple mailboxes either to get the mailbox size or get the number of emails in different folders. Here is a sample that loops through multiple mailboxes recursively. The following sample is a simple VBScript code sample that iterates through all folders in multiple mailboxes. To use…

2

HOW TO: Alter the "SetSecurity" project to grant full trust to the add-in installation folder instead of the add-in assembly

Its better late than never, I have been wanting to write this post for a long time now and looks like the time has finally come! This is about adapting the "SetSecurity" project to grant Full Trust to the add-in installation folder instead of just the add-in assembly. What is "SetSecurity"? This is a sample…

5

Issue with updating a PT_BINARY property using WebDAV

I ran into a strange issue yesterday when I was trying to update a Named property of type PT_BINARY using WebDAV. When I did the PROPPATCH it went through fine and did not fail. When I checked the Named property using MFC MAPI, it was there but the type had changed to PT_STRING8. Below is…

0

HOW TO: Using WebDAV from PowerShell 1.0

I was just trying my hands on PowerShell and wanted to try using WebDAV from it. I wrote a small sample that searches the inbox of a user for unread mails and lists out the Href and the Subject of the email. Create a .PS1 file as below: #Change the Server name and Credentials [System.String]$serverName…

0

Saving an email as "Draft" in the Drafts folder

Have you ever tried to save a email into the Drafts folder using WebDAV? I followed the KB 313128 and altered the code to just save the email to the drafts folder. When I tried to open the email from the Drafts folder using Outlook Web Access(2003) or Outlook it appeared as a “Sent” email…

1