Accessing Messages in the MTS-IN and MTS-OUT Folders

To put incoming messages into the MTS-IN folder, you need to call the following MAPI methods:

To read outgoing messages from the MTS-OUT folder, you need to call the IMAPIFolder::GetContentsTable, to access the table of messages (MTEs) present in the folder.

For details about these functions, see the MAPI Programmer’s Reference. For examples of calling these functions, see the sample code for GWSAMPLE.C in the \BKOFFICE\SAMPLES\EXCHANGE\GWSAMPLE directory.