Platform SDK: CDO 1.2.1

Installing the AutoCategory Agent

Before installing the AutoCategory agent, be sure you have the Microsoft® Exchange Event Service installed properly. For more information, see "At a Glance: Setting up the Event Service" in the Microsoft Exchange Server Programmer's Reference in the Microsoft® Platform SDK documentation.

To install the AutoCategory agent in a folder

  1. Start Microsoft Outlook and locate the folder whose events you want a script to respond to.
  2. Right-click this folder, or click Folder on the File menu.
  3. Click Properties for that folder.
  4. Click the Agents tab to display the Agents property page. (This tab is not displayed unless the Microsoft Exchange Event Service is installed properly).
  5. Click New. This displays the New Agent dialog box.
  6. To enable monitoring of both new and changed messages, select the check boxes A new item is posted in this folder and An item is changed in this folder.
  7. Click Edit Script.
  8. Paste the AutoCategory script code, which you can find in the section AutoCategory Files.
  9. Close all dialog boxes by clicking OK in each. The AutoCategory agent is now installed.