I am building a C# function to periodically fetch email messages from a local email server(hMailServer) and save to a database table.
var uid_list = await inbox.SearchAsync(SearchQuery.SentAfter(lastDateTime));
The problem is that it ignores the time part only compare date part. Question: how to search mails newer than a timestamp value using Mailkit?