如题,英雄们,救命啊,怎找不到办法我就要疯了~~~~我找了好久都找不到资料,邮件格式是dbx格式和pst格式。

解决方案 »

  1.   

    试着引用outlook 的Com,然后看看可不可以用它来解析文件
      

  2.   

    http://www.codeproject.com/csharp/OutlookConnector.asp
    Introduction
    The Microsoft Outlook Connector is written in C# using the .NET 1.1 Framework. It attempts to abstract the data access with Microsoft Outlook and visual components using the data. Data from your Microsoft Outlook application can be exported to an XML file by simply checking the folder options and clicking Export. The source provides a simple example of mapping the COM object properties to a XML-friendly DataSet that could be used in any .NET application. 
      

  3.   

    谢谢楼上的,只不过1. Outlook提供的COM是有问题的。
    2. 那个codeproject的例子我找到过了,就是用了COM,有问题。问题在,读取的时候会弹出安全窗框警告,要用钱来买数字签证才能绕过,再者,我是想读取Outlook Express,不是Outlook,暂时还没找到例子啊,谁能提供一下。还是非常感谢楼上的