http://qs1969.pair.com?node_id=1218236


in reply to Re^2: IMAP: mark message as unseen
in thread IMAP: mark message as unseen

Sorry, it was probably my mistake.

However, the PEEK method doesn't yet work perfectly (I'm trying to figure out why). Is there any alternative?

Replies are listed 'Best First'.
Re^4: IMAP: mark message as unseen
by Corion (Patriarch) on Jul 10, 2018 at 11:03 UTC

    I think before I discovered PEEK, I removed the \Seen flag from each message after reading it, but I don't find any code anymore in which I did that and how I did it, sorry.