GroupDocsGists
10/19/2017 - 11:32 AM

RemoveEmailAttachments.cs

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

// remove attachments
emlFormat.RemoveAttachments();

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