简体   繁体   English

检查收件箱中的每封电子邮件是否已回复-ASP.NET C#

[英]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# . 如何在asp.net c#中执行此操作。 Am using MS Outlook 我正在使用MS Outlook

Use EWS Conversations: 使用EWS对话:

https://msdn.microsoft.com/en-us/library/office/dn610351(v=exchg.150).aspx 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. 然后,循环浏览会话中的项目,以查找与原始消息ID相等的InReplyTo字段。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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