Platform SDK: MAPI

Sending Messages: MAPI Spooler Tasks

The MAPI spooler is involved in the message transmission process when the message store is not tightly coupled with a transport provider, when the tightly coupled store and transport cannot handle a recipient, and when the message requires preprocessing.

After any necessary preprocessing, the MAPI spooler

  1. Locks the message by using the IMsgStore::SetLockState method if the message is not locked.
  2. Has the transport provider send the message to all recipients that have their PR_RESPONSIBILITY property set to FALSE.
  3. Calls the appropriate function (RemovePreprocessInfo) for cleaning up any additional information that was added to the message for use during preprocessing if the PR_PREPROCESS property has been set. This function is specified when the transport provider registers its preprocessor function.
  4. Calls IMsgStore::FinishedMsg. In FinishedMsg, the message store provider: