TRACK: Tracking and Auditing Messages

The TRACK sample application demonstrates message tracking across a gateway. It also demonstrates the use of EDKTRACK.LIB functions, which are used to track and audit delivery reports (DR) and nondelivery reports (NDR) that are generated by the gateway or passed through the gateway. For more information about tracking message transfer, see Mapping Message Identifiers.

TRACK writes message-tracking information to a file. First, you enter the data that pertains to a message at a command line. Then the application writes the information to a file using the HrWriteTrackLog function from EDKTRACK.LIB. The message can then be read by another application.

    To build TRACK.EXE
  1. Change to the directory containing the TRACK source files:

    \BKOFFICE\SAMPLES\EXCHANGE\TRACK

  2. Type NMAKE.
    To run the TRACK application

Type TRACK at a command prompt and enter the requested information. To use EDKTRACK.LIB library functions, compile them together with an actual gateway. Then, every message that passes through the gateway in either direction is tracked. The TRACK sample application stands in for a gateway. TRACK provides data to be written to a log, although TRACK does not store actual messages in the log.