Vba – Mark an Outlook message as read with VBA

outlookrulevba

Is there a way to mark a message as read if that message has been replied to?

Example: this is my E-Mail
RE: this is my E-Mail

Can I mark both as read?

Best Solution

An outlook MailItem has a property .UnRead:

Returns or sets a Boolean value that is True if the Outlook item has not been opened (read). Read/write.

http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._mailitem.unread.aspx

Assuming you have a handle on these mailItems, simply set their respective .UnRead = False to mark them as read.

Related Question