Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statusMailbox is always returns messagesUnseen = 0 #237

Open
Sgooll opened this issue Mar 14, 2024 · 1 comment
Open

statusMailbox is always returns messagesUnseen = 0 #237

Sgooll opened this issue Mar 14, 2024 · 1 comment

Comments

@Sgooll
Copy link

Sgooll commented Mar 14, 2024

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.

@grarich
Copy link

grarich commented Mar 24, 2024

I have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants