I’ve run a query on a PST which returns a MessageInfoCollection object. I want to take all the emails referenced by this and add them to a new PST file with FolderInfo.AddMessages(). How can I achieve this?
The examples all refer to just running sourceFolder.enumerate_mapi_messages(), but I don’t want to take all the messages from a folder, just the ones returned by my search in that MessageInfoCollection object.
I also don’t want to move the originals around into a new folder either.