We would like to be able to replace a message inside a PST file.
We don’t want to delete and add the message since this will change the EntryId of the message.
Also, we would like the API to support replacing multiple messages at once for performance reasons.
The API that we are asking for would look like this:
using (var pstStorage = PersonalStorage.FromFile(filename, true))
//Read messages here and update them in memory (in MapiMessage objects)
//Replace the messages in the PST file //entryIds as a string containing the entry ids of the messages //messages is a MapiMessage that contains the messages pstStorage.ReplaceMessage(entryIds, messages); //This is the new API