c# - How can I mark Mail as read in MS Outlook2010? -


i developing application, in need read content (mail body) of incoming mail. this, using below code trigger event, every time when new mail comes -

outlookapp.newmailex += new applicationevents_11_newmailexeventhandler(mailextractor.outlookapp_newmailex); 

i using ms outlook2010?

how can mark mail read going through application?

you need set unread property of outlook mailitem

http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._mailitem.unread(v=office.14).aspx


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -