HOWTO: Set Mailbox Quotas using CDOEXM

Are you someone who maintains Exchange 2003 servers? Did you ever have a requirement to set the Mailbox quotas for a lot of users at one go?  Here is your solution. The sample code below uses ADSI and Cdoexm to set mailbox quotas for multiple user. The following sample is a simple VBScript code sample…

4

HOWTO: Dump out Contacts using CDOEX and ADO

The following sample is a simple VBScript code sample that that uses CDOEX and ADO to iterate through multiple mailboxes and dumps out the contact data to a text file. This code must be run on the Exchange server. To use this sample, paste the following code in a new text file, and then name…

0

HOW TO:Set folder level permissions using CDO 1.21 and ACL.dll

This is not something everyone would want to do, but just in case below is the sample code that uses ACL.dll (found in the Platform SDK) to set "Reviewer" permissions on all the folders for a specific user. The following sample is a simple VBScript code sample that iterates through all folders in multiple mailboxes…

9

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

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

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