ChangeMessageClassPF for Microsoft Exchange 2007


Updated: 10-June-2010


Current version: 1.0.0.4			



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 "Sales" mail-enabled public folder 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  ChangeMessageClassPF application you can implement the same functionality in your Exchange 2007 Server based system.

The application also can delete permanently the incoming messages associated with a certain message class. For example, you can delete all nondelivery reports whose message class is Report.IPM.Note.NDR before delivering them to the certain public folder.


The application is an Exchange store event sink. 




Benefits

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

- You can set up ChangeMessageClassPF on per-folder basis

- 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 mail-enabled public folder named PFCMCTEST1. Create a new mail-enabled public folder named PFCMCTEST2.
 
2. Create or select a 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 Public Folder store. 
Open Exchange Management Shell and execute
	Get-PublicFolderDatabase | add-adpermission -user CMCAdmin -accessRights GenericAll

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

4. Create C:\Program Files\CMCPF\ directory.
Unpack ChangeMessageClass2007-Demo.zip archive file to C:\Program Files\CMCPF\ directory and extract all files.

5. Run C:\Program Files\CMCPF\ChangeMessageClassPFSetup.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-Public Folder registration frame select PFCMCTEST1 folder (see step #1) and mark it. Click  CHANGE button. The list will be refreshed. Make sure that PFCMCTEST1 is still checked.

7. Make sure that PFCMCTEST2 public folder is unchecked in the list.

8. Click the Exit button.





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, navigate to PFCMCTEST1 public folder. Create a custom view that shows Message Class column (for details see http://www.outlook-tips.net/howto/custom_views.htm).
Navigate to PFCMCTEST2 public folder and create the same custom niew there.

2. Send a message to PFCMCTEST1. Make sure the message you just sent is placed in PFCMCTEST1 folder and its Message Class is set to IPM.Post.

3. Send a message to PFCMCTEST2. Make sure the message you just sent is placed in PFCMCTEST2 folder and its Message Class is set to IPM.Note.

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




Uninstallation

1. Start C:\Program Files\CMCPF\ChangeMessageClassPFSetup.exe

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

3. Click Uninstall button in COM+ object frame.

4. Press Exit button.




About this demo version 

ChangeMessageClassPF demo version works only for public folders whose names include "TEST". Examples:
      CMClassPF1TEST
      Test2
Other public folders are unavailable. 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://CMCPF2007@ivasoft.com

