GroupDocsGists
10/19/2017 - 11:33 AM

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