在 EWS 中查找两个时间戳之间的项目

Find items between two timestamps in EWS

通过使用 Query string-parameter in the FindItem 操作,我可以找到两个日期之间的项目,如下所示:

<QueryString>Received:01/01/2001..01/15/2001</QueryString>

有没有比这更具体的方法,以便以秒级精度查找两个时间戳之间的项目?

我试过 ISO 格式的日期字符串和自纪元以来的秒数,但我无法让它工作。

使用索引搜索 AQS 或 KQL,如果您使用 SearchFilter,您只能精确到日期,您可以转到第二个查看 EWS Managed API: Fetch emails by search filter on DateTimeReceived

干杯 格伦