usmanazizgroupdocs
3/7/2016 - 6:07 PM

RemoveOutlookEmailAttachments.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 attachments
outlookFormat.RemoveAttachments();

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