-
Notifications
You must be signed in to change notification settings - Fork 85
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
parse error in noop
loop from "seen" event from server
#128
Comments
Ah, interesting. I believe this is fixed by #114 by @Emm54321, specifically the changes to |
I'm also interested in the results of that PR since that is the smarter alternative to a noop loop when the server has IDLE. I believe that if I did take that part of the PR out, then I could use IDLE and still iterate over the unsolicited responses after IDLE ends, right? In that case, then I think that the iterator is merely a nice facade over a loop + IDLE + try_recv(). I'll try to implement that PR, then. |
Yes indeed! |
PR up. Testing locally looks good so far. |
Pretty easy to reproduce:
While in this loop, read an email and notice that the process exits with the following error:
Error: Imap(Parse(Unexpected("Fetch(31724, [Uid(85608), Flags([\"\\\\Seen\"])])")))
It seems like this is a bug in not adding it to the unsolicited events. This is with a Gmail server.
The text was updated successfully, but these errors were encountered: