enough_mail icon indicating copy to clipboard operation
enough_mail copied to clipboard

statusMailbox is always returns messagesUnseen = 0

Open Sgooll opened this issue 1 year 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

I have the same problem.

grarich avatar Mar 24 '24 16:03 grarich

Can confirm the problem that all mails are always marked as seen. This is a bit of a problem since it marks them as seen on all clients.

MatrixRave avatar Jun 24 '25 16:06 MatrixRave