Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: IMAP: mark message as unseen

by Arik123 (Beadle)
on Jul 10, 2018 at 09:30 UTC ( #1218233=note: print w/replies, xml ) Need Help??

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

Okay, the PEEK things works... temporarily (it isn't implemented in Net::IMAP::Simple::SSL, but I did it manually). After fetching the messages using the PEEK thing, the web interface shows that the messages are still unread. However, if I wait a few moments without any action, and then re-load the web interface, the messages are marked as Seen.

Any idea what is going on? Thanks a lot!

Replies are listed 'Best First'.
Re^3: IMAP: mark message as unseen
by Arik123 (Beadle) on Jul 10, 2018 at 10:03 UTC

    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?

      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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1218233]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2023-01-30 17:27 GMT
Find Nodes?
    Voting Booth?

    No recent polls found