检测来自EWS的已读电子邮件 [英] Detecting read emails from EWS

查看:224
本文介绍了检测来自EWS的已读电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个C#Outlook Addin,我试图检测用户最近在桌面浏览器未打开时读取电子邮件的时间(例如他们可能有从outlook mobile中读取它。理想情况下,当桌面外观重新启动时,我可以将收件箱文件夹项目限制为使用最近lastModificationTime的所有读取项目的
,但事实证明,当用户阅读电子邮件时,此属性不会更新。因此,如果他们只是在几天前阅读了一封电子邮件,那么lastModificationTime在几天前仍然是
(而不是几分钟前)。是否有任何推荐的+性能敏感方式来检查用户最近在桌面前景关闭时阅读的电子邮件? 

I have a C# Outlook Addin and am trying to detect when a user recently read an email while the desktop outlook was not open (for example they could have read it from outlook mobile). Ideally, I would have been able to restrict the inbox folder items to look for all read items with a recent lastModificationTime when the desktop outlook is relaunched, but it turns out this property is not updated when a user reads an email. So if they just read an email from a few days ago, the lastModificationTime would still be a few days ago (as opposed to a few minutes ago). Is there any recommended+performance-sensitive way to check for emails a user recently read while the desktop outlook was closed? 

谢谢,

-Alper 

-Alper 

推荐答案

不,正如您已经发现的那样,读/未读状态不被视为电子邮件本身的一部分,并且更改不会更新最后修改日期。这样做是为了支持每用户读/未读状态(例如,对于公共文件夹)。
No, as you have already discovered, read/unread status is not considered part of the email itself and changing does nto update the last modified date. This is done to support per-user read/unread state (e.g. for the Public Folders).


这篇关于检测来自EWS的已读电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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