usmanazizgroupdocs
3/7/2016 - 6:06 PM

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));