Hello!

On 07/12/2016 09:31 PM, Nye Liu wrote:
While it seems you can examine once and keep calling status (violates
RFC), if you close before calling status, it doesn't work.. you have to
keep calling examine/close before each status

So three choices:

RFC broken 2 ways (status while folder is open, using status to count
UNSEEN):
login
examine
while 1
   status (MESSAGES UNSEEN)
done

Fully RFC compliant:

login
examine
while 1
   search(SEEN)
   search(UNSEEN)
done

or

Somewhat RFC broken (uses status to count UNSEEN)

login
while 1
   examine
   close
   status (MESSAGES UNSEEN)
done

The downside to search is that the results might be very long for a
large mailbox with many, many messages, and that result has to be split up.

I was wondering if you had any updates about this bug.

Is violating RFC3501 a dealbreaker? Should wmbiff use search, or should we go ahead and release a version with your original patch to fix the bug?

Thanks again!
Doug

Reply via email to