Archived Forum Post

Index of archived forum posts

Question:

Imap.Search returns MessageObject with 0 items instead null.

Nov 06 '15 at 06:33

It seems I have found a bug. Please see the log:

----IMAP REQUEST----
aaaw SELECT "Inbox"
----IMAP RESPONSE----
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* 69991 EXISTS
* 0 RECENT
* OK [UNSEEN 69990] Message 69990 is first unseen
* OK [UIDVALIDITY 77259886] UIDs valid
* OK [UIDNEXT 240121] Predicted next UID
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)] Limited
aaaw OK [READ-WRITE] SELECT completed.

----IMAP REQUEST----
aaax UID SEARCH SUBJECT "questions for"
----IMAP RESPONSE----
aaax NO Error 53. Server error. Please try again later.

Server returns NO. Imap.Search returns an instance of MessageSet with 0 items. But in this case Imap.Search should return null. So one can know that an error occurred.


Accepted Answer

Thanks. This build should fix the problem:

32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-win32.zip
64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-x64.zip

If not, please let me know.


Answer

Thanks, I'll have a look. What is the exact build you would need for a fix? (Programming language, operating system, .NET Framework version, etc.)


Answer

Thank you.

C#, Windows 7 and above, .Net v.4.0. At the moment we use 9.5.0.51 build. BTW, Is there any subscription to get news about new releases and changes in them?


Answer

Hello

Many thanks. I will check it tomorrow.


Answer

Hello

I've checked these builds. Yes, it fixes the problem.

Thank you.