Hi! My question is related to a forensics case.
When I recursively parse each email in each folder of a PST or OST file, I want to know if the email is deleted or not. When I parse all emails (using the code below), I see more items per folder than what is shown in Outlook (same folder). Additionally, I find some message titles and dates that I cannot locate in the actual Microsoft Outlook (local pst file, disconnected account).
Do you have a method/function to collect all messages that are ‘deleted’ or ‘awaiting deletion’?
Thanks,
foreach (Aspose.Email.Storage.Pst.MessageInfo messageinfo in messageinfoCollection)
{
try
{
Aspose.Email.Mapi.MapiMessage msg = mPst.ExtractMessage(messageinfo);
// messageinfo is deleted ?
}
catch (Exception ex)
{
//exception
}
}