This project is read-only.

MarkAsRead

Jul 7, 2008 at 10:41 PM
Jason,

When I call msg.MarkAsRead() do I need to do anything else, like a refresh? For some reason, this does not seem to flag the message as seen (I am using Exchange server) and I was wondering if I was missing something.

Thanks,

Todd
Aug 1, 2008 at 2:20 PM
I am having the same issue, also with an exhange server.

I stepped through it but the command seems to succeed. However, the message is still marked unseen.
Aug 4, 2008 at 3:55 PM
made somewhat progress...

I do a search, then
IMAPMessage msg = f.GetMessageByID(id);
for each message id that was returned by the search.
I mark each message as read and that seems to work except for the last one being examined (I'm parsing the attachment).

I have the impression that I need to trigger something after that last message to make sure it gets set on the server.
This impression comes from the fact that I need to call RefreshData to make sure all attachments show up.

Any suggestion or anything I didn't see?