简体   繁体   中英

Check if each email in inbox is replied to or not - asp.net c#

I want to check if each of the emails in my inbox is replied to or not. If yes, then what is the replied date.

For eg: loop through each email in my inbox and check a property, say,

if (oMailItem.IsReplied==true ){        
    strSentOnDate=oMailItem.SentOn 
} //replied to date

How to do this in asp.net c# . Am using MS Outlook

Use EWS Conversations:

https://msdn.microsoft.com/en-us/library/office/dn610351(v=exchg.150).aspx

Then cycle through the items in the conversation looking for the InReplyTo field equal to your original message ID.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM