如何使用 EWS Java API 访问 MAPI 属性?
我正在处理 Exchange 电子邮件并确定电子邮件何时被阅读。我相信可以使用 MAPI 属性之一 (PR_LAST_MODIFICATION_TIME) 来获取此信息。
有人可以帮助我使用 EWS Java API 获取此属性值吗?我可以找到 C# 的等效示例,但不能找到 Java 的等效示例。
I am working to process Exchange emails and figure out when an e-mail was read. I believe this information can be obtained using one of the MAPI Properties (PR_LAST_MODIFICATION_TIME).
Can someone help me to get this property value using EWS Java API? I could find equivalent samples for C# but not for Java.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
C# 和 Java 的 EWS 托管 API 不一样吗?
Item
类具有属性LastModifiedTime
,您可以将它与从 Item 派生的类的所有对象一起使用,所以我真的不明白您有什么问题。示例代码:
Isn't EWS Managed API the same for C# and for Java?
Item
class has propertyLastModifiedTime
and you can use it with all objects of classes derived from Item so I really do not see what you having problem with.Sample code: