Mark as unread

+1 vote

Is there a way with your mail.dll IMAP library product to mark a mail as unread again?

asked Feb 11 by Peter

1 Answer

0 votes
Best answer

You can use Imap.MarkMessageUnseenByUID method it removes \Seen flag from the specified email.

Depending on your scenario you may want to use Imap.PeekMessageByUID instead of Imap.GetMessageByUID, so you don't mark messages as seen when downloading them.

answered Feb 11 by Limilabs support (239,070 points)