Menno Finlay-Smits
Menno Finlay-Smits
A server is allowed to drop a client that has been IDLE for more than 30 minutes without doing anything. Although your code is regularly timing out from the `idle_check`,...
The issue is likely that IMAPClient is using imaplib.IMAP4's _get_line while the socket is in non-blocking mode which it isn't really designed for. IMAPClient will like need to call IMAP4.readline()...
My memory is fuzzy but I'm pretty sure it was done like this because timeouts weren't available with older Python versions. I'm definitely open to rethinking the whole approach to...
Thanks for digging into this @axoroll7 . I don't have anything significant in progress for this so if you want to continue with solving this please go ahead. I do...
Heads up: I've got a rough prototype working which simply uses timeouts with custom line reading and buffering. I'll try to get it tidied up for review over the weekend.
@dependabot rebase
Hmm tricky. Right now the lexer is looking for the matching `]` which it probably shouldn't be. That should be the parser's responsibility. The lexer at most return tokens for...
This looks like a bug in _send_literal. It should be calling the has_capability method instead of assuming cached_capabilities has been populated. A workaround would be to call the `capabilities` method...
Do you see an error from the server? Could you try enabling logging as described here: https://imapclient.readthedocs.io/en/master/concepts.html#logging ? That will let us see the protocol details which might show what's...
Also, I can't tell from your screenshot but make sure you're calling search with the criteria as a list like this: ```python messages = server.search(["FROM", "[email protected]"]) ``` That is, not...