![]() NET library we provide simple, but powerful free Apps. You may easily run the code above and see the feature in action in our GitHub examples:Īlong with full featured. Using (TextReader reader = attachmentParser.GetText())Ĭonsole.WriteLine(reader = null ? "No text" : reader.ReadToEnd()) Ĭatch (UnsupportedDocumentFormatException) Using (Parser attachmentParser = item.OpenParser()) Create Parser object for the email content ![]() Check if container extraction is supportedĬonsole.WriteLine( "Container extraction isn't supported") įoreach(ContainerItem item in attachments)įoreach (MetadataItem metadata in item.Metadata)Ĭonsole.WriteLine( string.Format( "", metadata.Name, metadata.Value)) IEnumerable attachments = parser.GetContainer() Extract attachments from the container Using(Parser parser = new Parser(filePath))
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |