EWS protocol does not suffer from this limitation. However, please note that we still impose an equivalent in the single-parameter variants of EwsSearchParameters.Arrived
and EwsSearchParameters.Sent
- these are supposed to search for messages that arrived (or were sent) on the specified date (not for messages that arrived after or before the specified date/time).
In order to search for messages that arrived (or were sent) after or before the specified date/time, use the two-parameter variant of those parameters and specify null
(Nothing
in VB.NET) for one of the bounds. For example:
EwsSearchParameter.Arrived(DateTime.Now.AddDays(-1), null)
If this still doesn't work as expected, please let us know.