Hi guys,
We know that exists a lot of tools to recover deleted items from PST/OST files, but this tools requires manual intervention, and we need a automatic solution using an API like Aspose.Email, because we process thousands of files in our System.
Actually we are using your component to process many pst/ost files, but we found that in the processing we are losing a lot of hard deleted items that also exists inside this stores.
We know that MAPI library use a method to get the Hard Deleted Items, as you can see in the Example below, the variable itemType is used to get the type of items you can get from the Pst Folder
–TO GET NORMAL EMAILS INSIDE A FOLDER
IMAPITable tblFolderObjects;
itemType = 0;
hr = fldFolder.GetContentsTable(itemType, out tblFolderObjects);
–TO GET NORMAL SUBFOLDERS INSIDE A FOLDER
IMAPITable tblFolderObjects;
itemType = 0;
hr = fldFolder.GetHierarchyTable(itemType, out tblFolderObjects);
–TO GET HARD DELETED EMAILS INSIDE A FOLDER
IMAPITable tblFolderObjects;
itemType = 2;
hr = fldFolder.GetContentsTable(itemType, out tblFolderObjects);
–TO GET HARD DELETED SUBFOLDERS INSIDE A FOLDER
IMAPITable tblFolderObjects;
itemType = 2;
hr = fldFolder.GetHierarchyTable(itemType, out tblFolderObjects);
As you can see the hard deleted items could be retrieved from the Pst Folder like the another normal emails only changing the parameter of the Mapi methods.
We can develop a MAPI component to get this type of items, but if we do this, then need to maintain and support 2 different components to get all items (normal and deleted) in the Pst.
Our main requirement if it is posible that you can add a feature in the Aspose.Email component to get the HardDeleted Items (Emails and Folders) inside the PST/OST files.
We will appreciate your help
Best Regards
We will appreciate your help
Best Regards