Using CDO in the LitCrit Public Folder Agent

After a folder event is triggered, LitCrit's Event Service script, LitCrit_Agent.asp, starts to run. Each event triggers a specific subroutine meant to process it: Folder_OnMessageCreated, Message_OnChange, or Folder_OnMessageDeleted. (The fourth event made available by the Event Service, Folder_OnTimer, is not used in LitCrit.)

Note  While the current topic discusses the ways the LitCrit Event Service script uses CDO, the script itself is described in more detail in Processing Folder Events in Script.

The four event-specific subroutines in turn call supporting functions such as MakeResponseMessage, CopyToApprover, and SendApproverForm, which use the objects and methods of the CDO Library and the CDO Rendering Library to perform more granular tasks.