I just ran into a problem where evaluation text was added to my .eml email attachment when using the Viewer’s SaveAttachment function.
We are using the GroupDocs total license which includes Apsose.Email as far as I know.
Using the Viewer for other tasks works fine and ot evaluation text is added.
This code was used with GroupDocs.Viewer 20.4.0 to save the attachment:
FileStream attachmentStream = new FileStream(@"C:\savedAttachment.eml", FileMode.CreateNew); using (Viewer viewer = new Viewer(@"C:\Email with another email as attachment.msg")) viewer.SaveAttachment(viewer.GetAttachments().First(), attachmentStream);
I included the saved attachment as well as the original file.
Email with another email as attachment.zip (25.0 KB)
Thank you in advance for checking this issue. Please let me know if further information is required.