从.msg文件读取 [英] Read from .msg files

查看:151
本文介绍了从.msg文件读取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用COM API for Outlook(不会安装在我的应用程序将运行的计算机上)从.NET 中的Outlook .MSG文件中读取。有免费的第三方图书馆吗?我想提取From,To,CC和BCC字段。发送/接收日期字段如果它们也存储在MSG文件中也会很好。

I need to read from Outlook .MSG file in .NET without using COM API for Outlook (cos it will not be installed on the machines that my app will run). Are there any free 3rd party libraries to do that? I want to extract From, To, CC and BCC fields. Sent/Receive date fields would be good if they are also stored in MSG files.

推荐答案

更新:我找到了一个第三方COM库,名为 Outlook赎回,这对我现在工作正常。如果您通过.NET中的COM-Interop使用它,请不要忘记在完成后释放每个COM对象,否则您的应用程序会随机崩溃。

Update: I have found a 3rd party COM library called Outlook Redemption which is working fine for me at the moment. If you use it via COM-Interop in .NET, don't forget to release every COM object after you are done with it, otherwise your application crashes randomly.

这篇关于从.msg文件读取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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