The RPTDRIV sample application demonstrates how to generate delivery/nondelivery reports and read/unread reports about messages traveling across a gateway. It also demonstrates using the REPORT library functions. For a simple procedure for setting up and verifying a gateway, see Importing and Exporting with DIRSYNC.
\BKOFFICE\SAMPLES\EXCHANGE\RPTDRIV