Automate collection of data from outlook .msg files to excel field

最后都变了- 提交于 2020-01-06 18:08:13

问题


My firewall sends me a notifcation to my email every time a policy is violated.

I have about 2500 emails in .msg format that I want to put into one excel document.

Basically I am looking for a way to automate processing each .msg file and putting it on a new line in an excel document.

All 2500+ .msg files are in a single folder.

I understand that .msg files hold binary data, and thats ok. I can clean up the excel document once it is created.

Thanks, Aaron


回答1:


Take a look at Outlook MSG file format specification.

You should consider getting the messages in some other format that is easier to parse.




回答2:


Redemption or the Aspose libs can help you out here. There is also Sean Curries script.



来源:https://stackoverflow.com/questions/1240096/automate-collection-of-data-from-outlook-msg-files-to-excel-field

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