I'm running an evaluation and most of mail.dll seems to work fine. But using the sample code download the folder status reports 40 emails while the imap.Search(Flag.All) or any status flag return 0. What am I missing. If I can get this to work we'll buy it.
This looks like a server bug.
Please turn on logging we'll see what the problem is. What server is that? Are you sure that the messages are actually there?
Does this code return anything (it's just a different IMAP query, that says search all):
List<long> uids = imap.Search(Expression.UID(Range.From(1)))