是否可以从MS Graph API获取.msg文件的解决方案?
我的任务是用图形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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.