你能告诉我如何使用c#读取附件的eml文件吗? [英] Can you please tell me how to read eml files with attachments using c#

查看:206
本文介绍了你能告诉我如何使用c#读取附件的eml文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发电子邮件备份工具。我从我的服务器下载了电子邮件,并将它们存储为.eml文件,以便即使我处于离线状态也可以查看它们。现在我想使用c#读取这些eml文件并显示包含附件的内容。你能告诉我如何使用c#

I am trying to developing email backup utility. I had downloaded emails from my server and stored them as .eml files so that i can view them even when i am offline. Now i want to read those eml files using c# and show the content including attachments. Can you please tell me how to read eml files with attachments using c#

推荐答案

读取带附件的eml文件在这里看一下codeproject:从.EML文件中轻松检索电子邮件信息 [ ^ ]
Take a look at this article here at codeproject: Easily Retrieve Email Information from .EML Files[^]


用C#解析.eml文件:

http:// blog.onderweg.eu/2010/12/parsing-eml-files-in-c/ [ ^ ]

此外,您还可以阅读以下帖子:

< a href =http://www.c-sharpcorner.com/Blogs/11103/read-outlook-eml-file-without-outlook-api-in-C-Sharp.aspx> http://www.c -sharpcorner.com/Blogs/11103/read-outlook-eml -file-without-outlook-api-in-C-Sharp.aspx [ ^ ]
Parsing .eml files in C#:
http://blog.onderweg.eu/2010/12/parsing-eml-files-in-c/[^]
and also, you can read the following post:
http://www.c-sharpcorner.com/Blogs/11103/read-outlook-eml-file-without-outlook-api-in-C-Sharp.aspx[^]


这篇关于你能告诉我如何使用c#读取附件的eml文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆