使用 Exchange Web 服务枚举邮件项目的所有属性(mapi 属性?)
我正在尝试解决 Exchange 2007 服务器上某些邮件项目的问题。 我已经能够确定我认为收件人属性有问题,但我不确定,所以我只想枚举坏消息的消息上的所有属性,并将其与好消息进行比较。
我还会选择 MAPI 或 WebDAV 解决方案。
I'm trying to troublshoot a problem with some mail items in on an Exchange 2007 server. I've been able to determine there is something wrong with I think a reciepient property, but I'm not sure, so I'd like to just enumerate all the properties on a message on a bad one and compare it to a good one.
I would also settle for a MAPI or WebDAV solution.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
即使您找到了问题的解决方案,我仍然会回答您原来的问题。
不,没有办法枚举 EWS 中消息的所有属性。 您只能返回 AllProperties 标志提供的属性(不返回自定义和命名属性),或使用 ExtendedProperty 语法提供的特定属性。
此处是添加自定义扩展属性的简短示例。
所以您知道,MFCMAPI 仍在 CodePlex 上积极开发和托管(CodePlex 上的 MFCMAPI)
Even though you found a solution to your problem, I'll still answer your original question.
No, there is not a way to enumerate all of the properties on a message in EWS. It you can only return the properties provided by the AllProperties flag (which doesn't return custom & named properties), or specific properties you provide by using the ExtendedProperty syntax.
Here is a brief example of adding a custom extended property.
And so you know, MFCMAPI is still actively developed and hosted at CodePlex (MFCMAPI at CodePlex)
我在 Microsoft 网站上找到了一个实用程序,可以让您浏览 MAPI 存储,因此这比编写一些代码更适合我的目的。 指向 MS Exchange 商店的简洁小实用程序。
来自微软的MFCMapi
I found a utility on Microsoft's site that allows you to browse a MAPI store, so this worked better for my purposes than writing some code could have. Neat little utility to point at an MS Exchange store.
MFCMapi from Microsoft