从Outlook API中的InternetMessageHeader获取特定值

问题描述 投票:0回答:1

在调用/ me / messages Outlook API时,它返回每条消息的详细信息,包括Internet邮件标题,但是我们可以从中选择特定的命名标题。因为在处理大量数据时,这可能会减少一些内存...而且在性能方面,它还会减少搜索特定消息的迭代次数...

api email outlook microsoft-graph outlook-restapi
1个回答
0
投票

取决于Internet标头属性,您最希望将其作为扩展属性升级为消息,因此,如果您使用该特定属性的singlevalueextendedproperties定义https://docs.microsoft.com/en-us/graph/api/singlevaluelegacyextendedproperty-post-singlevalueextendedproperties?view=graph-rest-1.0,则可以获取并过滤特定的Internet标头。您可以使用MAPI编辑器(例如MFCMapi或OutlookSpy)来查看Message上可用的特定扩展属性。

© www.soinside.com 2019 - 2024. All rights reserved.