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