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

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

问题描述

我需要从.NET的展望msg文件没有的读取使用COM API用于Outlook(COS它不会在我的应用程序将运行在计算机上安装)。有没有免费的第三方库这样做呢?我想提取从,到,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.

推荐答案

更新:我发现所谓的展望赎回这在目前工作对我罚款。如果您在使用.NET通过COM-互操作使用它,不要忘记释放每个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天全站免登陆