In addition to the four event-related subroutines, the LitCrit_Agent.asp file contains the following "supporting" routines:
Except for DebugReport, all these subroutines are called only from the two event functions Folder_OnMessageCreated and Message_OnChange. Both of those functions first call GetEventDetails, which obtains a CDO Session object (and thus a CDO logon), before calling any of the other support routines, which themselves use many CDO calls.