Can't mark email read with InterIMAP, folder is read-only
Posted
by Morri
on Stack Overflow
See other posts from Stack Overflow
or by Morri
Published on 2010-03-22T11:55:05Z
Indexed on
2010/03/22
12:51 UTC
Read the original article
Hit count: 631
I'm trying to mark emails read (/SEEN) with InterIMAP, but this doesn't work. I stepped through the code with debugger, and found out that the response from mail server is "IMAP0078 OK Store ignored with read-only mailbox.", which pretty much tells me why it doesn't work. But it looks like there's no way to tell InterIMAP to open the connection as read-write. If I use something like Thunderbird, I can set the messages as read.
Does anyone know how I should use InterIMAP to achieve what I'm trying, or how to change the source code so that I'd be able to mark messages as read?
© Stack Overflow or respective owner