bamthomas / aioimaplib

Python asyncio IMAP4rev1 client library
GNU General Public License v3.0
133 stars 59 forks source link

Change status when examine #101

Open Ciran28 opened 7 months ago

Ciran28 commented 7 months ago

When I tried to use the examine command, I found that the status was not updated. So I modified the code accordingly, and that fixed the problem on my side.

v1adimir-k commented 2 months ago

+1 The "EXAMINE" command changes IMAP4 server state to "SELECTED", according to the protocol, so you can normally "fetch" an email, for example. In the lib, when the command executes with simple_command(), the state doesn't change, so when you try to fetch an email you get an error.