0 votes

we are facing in problem in set status of mail is mark as read. its read and download attachment but check on browser its status not change from UnSeeen to seen.

Kindly suggest how to do this.

by

1 Answer

0 votes

You can use Imap.MarkMessageAsSeenByUID to mark message as seen.

Generally when IMAP server returns a message in response to Imap.GetMessageByUID, it is required to mark message as seen.

Please note that using Imap.Examine instead of Imap.Select opens mailbox in read-only mode and may prevent IMAP server from changing massage read/unread status.

by (301k points)
...