0 votes

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.

by

1 Answer

0 votes

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)))
by (297k points)
edited by
Thanks for the quick response. I tried this and still got no UIDs back. I'm having our networking guy determine if there's anything special about this server like using some proprietary additions to IMAP.
Turn on logging - it may reveal something. At least we'll know, if the problem is with Mail.dll not being able to parse a server response or with the server not sending the data.
How might I turn logging on?
There's a link in my answer above.
Thanks, I missed that. Got it too, it's not allowing me to select the inbox. That's definitely a perms problem. Thanks again.
...