enough_mail icon indicating copy to clipboard operation
enough_mail copied to clipboard

statusMailbox is always returns messagesUnseen = 0

Open Sgooll opened this issue 3 months ago • 1 comments

I tried this code

final statusResult = await imapClient.statusMailbox(box, [ StatusFlags.unseen, ]); print("statusResult.messagesUnseen = ${statusResult.messagesUnseen}");

Here are the execution logs: flutter: C: a22 STATUS "INBOX" (UNSEEN) flutter: S: * STATUS INBOX (UNSEEN 2) flutter: C: untagged not handled: [* STATUS INBOX (UNSEEN 2) ] by task a22 STATUS "INBOX" (UNSEEN) flutter: S: a22 OK Status completed (0.001 + 0.000 secs). flutter: statusResult.messagesUnseen = 0

What i expected: flutter: statusResult.messagesUnseen = 2;

It happens with any mailbox.

Sgooll avatar Mar 14 '24 10:03 Sgooll