是否可以从MS Graph API获取.msg文件的解决方案?

发布于 2025-01-22 20:47:12 字数 75 浏览 2 评论 0原文

我的任务是用图形API获取多个邮件,并将其存档为.msg文件到服务器。 现在,我只能将邮件作为哑剧。有没有办法将它们转换为.msg文件?

I have the task to get several Mails with the Graph API and archive those as .msg files to a server.
Right now, i'm only able to get mails as MIME. Is there a way to transform those into .msg files?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

☆獨立☆ 2025-01-29 20:47:12

MSG文件格式特定于Outlook的Windows版本。 Graph也没有以任何方式公开该文件格式。您可以创建一个msg文件(请参阅如何创建” .msg“文件不使用MFC中的Outlook?)并将EML导入其中。

另请注意,Outlook将同样乐于打开并显示EML文件与MSG文件一样,因此即使它们不揭示MSG文件的所有信息和MAPI特定属性,也可能有意义可以存储。

MSG file format is specific to the Windows version of Outlook. Neither Graph nor EWS expose that file format in any way. You can create an MSG file (see How to create ".msg" file without using outlook in mfc?) and import EML into it.

Also note that Outlook will be just as happy to open and display an EML file as an MSG file, so it might make sense to work with EML files, even if they don't expose all the information and MAPI specific properties that an MSG file can store.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文