简体   繁体   English

从C#中的EML文件提取图像

[英]Extract images from EML file in C#

I need to extract the images (attached) of a .EML file. 我需要提取(附加).EML文件的图像。 Any help or ideas? 有什么帮助或想法吗? Thanks in advance. 提前致谢。 (I'm programming in c#) (我正在用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. 尽管我没有使用MIME部分,但我可能对它的完整性感到惊讶,但您可以使用Sasa.net来获得它。 You'll find sample usage of Sasa.net to scan EML files here: https://github.com/fschwiet/ManyConsole/blob/master/SampleConsole/DumpEmlFilesCommand.cs 您可以在此处找到Sasa.net扫描EML文件的示例用法: https : //github.com/fschwiet/ManyConsole/blob/master/SampleConsole/DumpEmlFilesCommand.cs

如果您真的要说.eml(包含内容为mime编码的消息的文件),请查看针对您的语言的某些MIME实现,例如, http://www.codeproject.com/KB/cs/MIME_De_Encode_in_C_.aspxhttp://anmar.eu.org/projects/sharpmimetools/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM