WebDAV: Quick Exchange WebDAV Test

We don’t use WebDAV much anymore (it isn’t in Exchange as from 2010), but sometimes we still get cases on it.  While there are many tools that can do detailed analysis and troubleshooting, I have a script that will test whether WebDAV is working as expected.  I had to update this recently due to changes…

0

Outlook: how to programmatically read auto archive settings

Auto archive is a purely Outlook feature (i.e. the settings are not stored in the mailbox), and the settings are not exposed in the object model.  The settings are stored in the registry, however, so it is possible to read the information from there.  Note though, that this is completely unsupported (just as we do…

6

Outlook Code: Importing bank holidays from an Outlook.hol based CSV file

We have been getting a few requests for code to automate the import of bank holidays in Outlook and prevent duplication. The easiest way to achieve this was to actually use the updated Outlook.hol file containing bank holiday definitions that Outlook uses when using the holiday import wizard. I have written both a VBS and…

4

How to change the default item type of a folder (VBScript and OOM, or EWS)

It is possible to change the default item type of Outlook folders, and this is commonly done when custom forms are being used.  The question came up recently asking whether it is possible to do this programmatically, and it certainly is. The default item type of a folder is stored in a single MAPI property,…

2

Using Exchange Web Services from VBScript: Sending a message with attachment example

With Exchange 2010, CDO and all the other APIs that were commonly used from VBScript (e.g. WebDAV) are no longer supported.  The only scriptable API is EWS.  While it is relatively easy to use EWS using the managed API, this is not possible from VBScript.  However, programming with EWS from VBScript can be done, and isn’t…

4