开发者

Extract images from EML file in C#

开发者 https://www.devze.com 2022-12-15 03:24 出处:网络
I need to extract the images (attach开发者_如何学编程ed) of a .EML file. Any help or ideas? Thanks in advance.

I need to extract the images (attach开发者_如何学编程ed) of a .EML file. Any help or ideas? Thanks in advance. (I'm programming in c#)


You may be able to get that with Sasa.net, though I haven't used the MIME portion I've been surprised by its completeness otherwise. You'll find sample usage of Sasa.net to scan EML files here: https://github.com/fschwiet/ManyConsole/blob/master/SampleConsole/DumpEmlFilesCommand.cs


If you really mean .eml (a file containing contents mime-encoded message), take a look at some of MIME implementations for your language, for instance, http://www.codeproject.com/KB/cs/MIME_De_Encode_in_C_.aspx or http://anmar.eu.org/projects/sharpmimetools/

0

精彩评论

暂无评论...
验证码 换一张
取 消