Automate collection of data from outlook .msg file

2019-08-22 19:56发布

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

2条回答
Summer. ? 凉城
2楼-- · 2019-08-22 20:18

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

查看更多
闹够了就滚
3楼-- · 2019-08-22 20:20

Take a look at Outlook MSG file format specification.

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

查看更多
登录 后发表回答