Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

New Post: Marking message as unread

$
0
0
Hi Jayakumar,

just read my second post in this thread carefully. The flag UNSEEN doesn't exist (see constants in ImapFlags), so has no effect. Every read message will have the SEEN flag set, so to mark it as unread again, you need to remove it:
// msg is read, has the SEEN flag set.

msg.RemoveFlag(ImapFlags.SEEN); // Removing SEEN flag, marking message as unread again.
Greets,

Pavel

Viewing all articles
Browse latest Browse all 1952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>