Processing Microsoft Office Outlook 2003/2007 email messages

♀尐吖头ヾ 提交于 2019-12-02 19:11:32

问题


Summary

It's been while now that I receive emails on a specific work-related domain, and I'd like to build up a database based on the information that is provided within these emails messages.

These messages are work related items about some needs and requirements in the computer science industry in my corner of the world.

I would like to parse or analyze these emails in an automatic way so that I can get recurring information into a database and build a business intelligence-like database which would keep me informed about the most demanded field of specialization.

Technological environment

O/S:     Microsoft Windows 7 Pro
Office: Microsoft Office 2007 Pro
Yes, I can use .NET 4.0! =)

(I'll be pleased to provide further information as needed.)

Questions

  1. How to access either PST files or the Outlook personal data files through the COM Interop assembly?
  2. What are the objects to use to instantiate each of the emails found in the Outlook PST file or other?
  3. What is the best way to go to parse an email message?

Thanks for any of you who can share her/his grain of salt in order to help me achieve my objective. That is very meaningful to me.


回答1:


If you plan to use the Outlook 2007 COM object Model I suggest you start with this article: How Do I ... in Outlook

Look specifically for "Folders and Stores", "Search an Filter", "Solution Storage".

Aside from this, the PST format is now documented here: PST File Format SDK but this is an unmaged C++ API, hard to use in .NET. There was a .NET port project initiated here: http://pstsdknet.codeplex.com/documentation but it seems quite dead (or not yet born)... so it's a difficult road to head for.



来源:https://stackoverflow.com/questions/4395223/processing-microsoft-office-outlook-2003-2007-email-messages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!