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

New Post: How to mark messages as read?

$
0
0
I am successfully searching for messages using the "(UNSEEN)" flag, but I'm having some difficulties marking them as read or "SEEN".

This is what I've tried so far:

currentEmail.Flags.Remove("UNSEEN");
currentEmail.Flags.Add("SEEN");

as well as:

currentEmail.Flags.Remove("(UNSEEN)");
currentEmail.Flags.Add("(SEEN)");

I also tried just adding the SEEN flag (so removing the first line of code), but none of these worked - the email remains UNSEEN (unread). To be specific, this is a Google Apps (Gmail) account.

How would I go about this?

Viewing all articles
Browse latest Browse all 1952

Latest Images

Trending Articles



Latest Images

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