ChangeMessageClass for Microsoft Exchange 2007


Updated: 28-May-2008


Current version: 1.0.0.2		


Purpose


A property of the item called message class determines the form the item uses. This application can help you to change the message class for incoming messages from the default to custom one. For example, you create a custom Outlook form with IPM.Note.Sales message class and you need that each message e-mailed to your Exchange Sales mailbox will be converted to your custom form (IPM.Note.Sales) immediately after receiving to display information in a Sales custom form. See a good article that describes an Exchange 5.X - based application to support group mailbox functionality: Implementing a Group Mailbox or Public Folder (http://www.exchangeadmin.com/Articles/Index.cfm?ArticleID=4855).  Using  ChangeMessageClass application you can implement the same functionality in your Exchange 2007 Server based system.

The application is an Exchange store event sink. 




Benefits

- Message type conversion is processed instantly, before any rules are applied

- You can set up ChangeMessageClass on per-mailbox basis or as a "store-wide" application, i.e. it will work on each user's Inbox in the certain Exchange 2007 mailbox store 

- The application is server-centric, so you do not need to install any extra software on the client side 




Installation

On your Exchange 2007 Server computer:

1. Create a new mailbox-enabled user account. Mailbox alias must be CMCTEST.
You should create this account for test purposes only, so you can delete it after you satisfy yourself with the fact that the application is actually works.
 
2. Create or select another mailbox-enabled user account (let's name it "CMCAdmin") that is a member of the Domain Admins and Domain Users security groups. That account must have full permissions on the all mailbox stores. Open Exchange Management Shell and execute
	Get-MailboxDatabase | add-adpermission -user CMCAdmin -accessRights GenericAll

3. Log on as CMCAdmin to your Exchange 2007 Server computer.

4. Create C:\Program Files\CMC2007\ directory.
Download http://www.ivasoft.com/files/ChangeMessageClass2007-Demo.zip archive file to C:\Program Files\CMC2007\ directory and extract all files.

5. Run C:\Program Files\CMC2007\ChangeMessageClassSetup.exe
Click Install button in COM+ object frame.  Make sure the Rules frame contains 
"  IPM.Note   |  convert to   |  IPM.Post  " string in the list. 

6. In Per-Mailbox registration frame select CMCTEST mailbox (see step #1) and mark it. Click  CHANGE button. The list will be refreshed. Make sure that CMCTEST is still checked.

7. Click the Exit button.




Store-wide registration

If you wish to register ChangeMessageClass store-wide, use the list in Store-wide registration frame to select/deselect the appropriate mailbox store.




Testing

We assume you have rule that looks like

Original Message Class      Action         Target Message Class         

IPM.Note                    convert to     IPM.Post


1. Using Outlook, open the CMCTEST mailbox. Navigate to Inbox folder. Create a custom view that shows Message Class column (for details see http://www.outlook-tips.net/howto/custom_views.htm)

2. Send a message to CMCTEST.

3. Make sure the message you just sent is placed in the Inbox and its Message Class is set to IPM.Post

4. When finished, you can delete the CMCTEST account and mailbox.

We have tested ChangeMessageClass with Outlook 2003/2007 and Exchange 2007 SP1 on MS Windows Server 2003 R2 Enterprise x64 edition SP2. 




Uninstallation

1. Start C:\Program Files\CMC2007\ChangeMessageClassSetup.exe

2. Uncheck all items in the list in Per-Mailbox registration frame and click Change button.

3. Uncheck all items in the list in Store-wide registration frame and click Change button.

4. Click Uninstall button in COM+ object frame.

5. Press Exit button.



About this demo version. 

ChangeMessageClass demo version works only for mailboxes whose names include "TEST". Examples:
      CMC1TEST
      Test2SM
Other mailboxes are unavailable. Also you cannot register this demo version for all mailboxes at once (store-wide). The full product version has no limitations. 




Feel free to send me your comments and criticism.

Thank you,

Victor Ivanidze,
IvaSoft

http://www.ivasoft.com
mailto://CMC2007@ivasoft.com

