Edit

Share via


Finding Sent or Saved Messages

Applies to: Outlook 2013 | Outlook 2016

To locate all the outgoing messages that you have saved or sent

  1. Call IMsgStore::CompareEntryIDs to compare the folder that contains your sent messages with the folder that contains your incoming messages.

  2. Set the lpEntryID1 parameter to point to PR_IPM_SENTMAIL_ENTRYID (PidTagIpmSentMailEntryId) and the lpEntryID2 parameter to point to PR_PARENT_ENTRYID (PidTagParentEntryId).

Be aware that if you either delete messages after they are sent or have moved any of the sent messages to another folder, this strategy will not work.

If in examining an incoming message you notice that the properties that are typically set by a transport provider are missing, you can assume that the message was never handled by a transport provider. These properties include: