bamthomas / aioimaplib

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

Marking a mail as read (=seen) is not working #111

Open pseisam opened 2 weeks ago

pseisam commented 2 weeks ago

I try to mark a mail as read (Flag: seen) by uid and it does not work. This is what I tried:

await imap_client.store(uid, '+FLAGS', '\\Seen')
await imap_client.store(uid, '+FLAGS', '\Seen')
await imap_client.store(uid, '+FLAGS', 'Seen')
await imap_client.store(uid, '+FLAGS', '\\Seen', true) #with all other variations of Seen from above

The response looks good, but it does not change anything: The flags stay empty

Response(result='OK', lines=[b'STORE completed'])

Any idea if this is a bug or wrong syntax by me?