usmanazizgroupdocs
3/7/2016 - 5:59 PM

RemoveEmailAttachments.vb

'For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
' initialize emlFormat 
Dim emlFormat As New EmlFormat(Common.MapSourceFilePath(filePath))

' remove attachments
emlFormat.RemoveAttachments()

' commit changes
emlFormat.Save(Common.MapDestinationFilePath(filePath))