从EWS获取.MSG格式的消息。 [英] Get Message in .MSG format from EWS.

查看:79
本文介绍了从EWS获取.MSG格式的消息。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在浏览EWS功能列表并且很惊讶地看到没有任何功能可以让我保存检索到的电子邮件项目

。奇怪的是,MS不支持自己的文件格式?  或者我错了吗?  有没有办法?

I was going through EWS function list and was surprise to see that there is no function that would allow me to save retrieved email item
in .MSG format. Strange to know that MS does not support its own file format?   OR AM I Wrong?   IS there a way ?

问候

推荐答案

你可以从交换获取mimecontent(RAW的字节数组)消息内容),只需在加载消息属性时加载属性ItemSchema.MimeContent。然后,您可以将其保存到文件中。
You can obtain mimecontent from exchange (a byte array of RAW message content), just load a property ItemSchema.MimeContent while loading a message's properties. You can then save it to the file.


这篇关于从EWS获取.MSG格式的消息。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆