facebooktwittermenuarrow-up

GemBox Support Forum

Moving and Marking E-mails with Imap Client

Hello,
Is there a way to move an E-mail with the Imap client from one folder to another? Also, is there a way to mark an E-mail as read? I see these features with the ExchangeServer, but not the Imap client.
Thanks.

Hi Doug,

Yes, you can move the email using ImapClient.MoveMessage method.

Also yes, you can mark the email as read using the ImapClient.AddMessageFlags method and adding the ImapMessageFlags.Seen flag (or \Seen text) to an email.

Regards,
Mario

Great! Thanks very much.