自动将数据从 Outlook .msg 文件收集到 Excel 字段
每次违反策略时,我的防火墙都会向我的电子邮件发送通知。
我有大约 2500 封 .msg 格式的电子邮件,我想将它们放入一个 Excel 文档中。
基本上我正在寻找一种方法来自动处理每个 .msg 文件并将其放在 Excel 文档中的新行中。
所有 2500 多个 .msg 文件都位于一个文件夹中。
我知道 .msg 文件保存二进制数据,没关系。 Excel 文档创建后我可以对其进行清理。
谢谢, 亚伦
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 Outlook MSG 文件格式规范。
您应该考虑以更易于解析的其他格式获取消息。
Take a look at Outlook MSG file format specification.
You should consider getting the messages in some other format that is easier to parse.
Redemption 或 Aspose 库可以帮助您。 还有 Sean Curries 脚本。
Redemption or the Aspose libs can help you out here. There is also Sean Curries script.