0 votes

I tried using Expression.SentSince(Convert.ToDateTime("5/25/2016 15:07")) but it fetches all the emails since given date ignoring the Time part.

Also how will you fetch the emails for last 10 Mins.

Thanks for all your help in advance !!!

by

1 Answer

0 votes

All date related searches ignore time and time zone. This is defined by the RFC standard.

If you want to get new emails since you last checked, read this article:
https://www.limilabs.com/blog/get-new-emails-using-imap

Have in mind that searching is done entirely on the server side. If server implements this incorrectly you'll need to report the issue to server administrator.

by (301k points)
...