GroupDocsGists
10/19/2017 - 11:31 AM

RemoveOutlookEmailMetadata.cs

//For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
// initialize outlookFormat 
OutlookMessage outlookFormat = new OutlookMessage(Common.MapSourceFilePath(filePath));

// remove metadata
outlookFormat.CleanMetadata();

// commit changes
outlookFormat.Save(Common.MapDestinationFilePath(filePath));