Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Created September 30, 2019 05:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GroupDocsGists/81f22e87f96725ed2bb2dace253387c5 to your computer and use it in GitHub Desktop.
Save GroupDocsGists/81f22e87f96725ed2bb2dace253387c5 to your computer and use it in GitHub Desktop.
using (Viewer viewer = new Viewer("sample.msg"))
{
IList<Attachment> attachments = viewer.GetAttachments();
Console.WriteLine("\nAttachments:");
foreach(Attachment attachment in attachments)
Console.WriteLine(attachment);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment