HOW TO: Configure Exchange 2007 and Exchange 2010 for using Impersonation

Exchange 2010: Configuring Exchange Impersonation (Exchange Web Services) http://msdn.microsoft.com/en-us/library/bb204095.aspx Using Exchange Impersonation XML Request/Response http://msdn.microsoft.com/en-us/library/bb204088.aspx Using Impersonation in EWS Managed API http://msdn.microsoft.com/en-us/library/dd633680(EXCHG.80).aspx Exchange 2007: Configuring Exchange Impersonation (Exchange Web Services) http://msdn.microsoft.com/en-us/library/bb204095(EXCHG.80).aspx Using Exchange Impersonation (Exchange Web Services) http://msdn.microsoft.com/en-us/library/bb204088(EXCHG.80).aspx ExchangeServiceBinding Class – Code Sample http://msdn.microsoft.com/en-us/library/exchangewebservices.exchangeservicebinding.aspx Enjoy!

3

HOW TO: List Top Level Folders in a Mailbox using EWS Managed API 1.0

Now that developers have started using Exchange Web Services Managed API, I thought it would be nice for me to post some samples to do simple things using the API. This sample shows: 1)How to list the Top Level folders in a mailbox. 2)Using Paging with the FolderView class. 3)Enabling logging of the Request and…


Changing the position of the “ReplyAll” button in Outlook 2007 Ribbon

Do you want to make “ReplyAll” the last button in the Ribbon while reading mail(Inspector) in Outlook 2007? Yes, it can be done. All you have to do is make a simple COM Add-in that implements IRibbonExtensibility or a VSTO Add-in and provide it with the appropriate Ribbon XML. You cannot hide/remove the buttons in…


HOWTO: Using PowerShell in ASP.NET (.NET Framework 2.0)

The easiest solution is to create a COM component and register that component with component services (COM+) running the component under a specific user identity. Why do I say this? Read on… In my case the Web site/Application was configured to run under the DefaultAppPool (Identity = Network Service) and you I wanted to use…

12

HOW TO: Get details about a Exchange User in Outlook 2007 & Outlook 2003

I recently came across an issue where I needed to get the details about Exchange User from within an Outlook Add-in. Below is a screen shot of the details I am referring to.   In Outlook 2007 its very simple, just use the ExchangeUser Object and you will get the details. More details can be…

6

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…


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