展望是否嵌入其电子邮件元素的邮件ID或等同? [英] Does Outlook embed a MessageID or equivalent in its email elements?
问题描述
我想自动化Outlook,这样我可以下载电子邮件的件件这样我就可以配合相关的消息在一起。据我所知,电子邮件通常有一个邮件ID来达到这一目的,从而使电子邮件可以在上下文中进行查看,如新闻阅读器线程是绑在一起。
I want to automate Outlook so that I can download the "pieces parts" of email messages so that I can tie related messages together. I understand that email usually has a "MessageID" to serve this purpose, so that emails can be viewed in context, as "threads" in a newsreader are tied together.
展望是否有其发送消息的ID的电子邮件中的概念?我看到,可以(用自动化)中提取的元素是主题,SENDEREMAIL,CREATIONTIME,身体,发送者姓名和HTMLBody。是一个消息ID或等效可用的地方,也?
Does Outlook have the notion of "Message IDs" in emails sent with it? I see that the elements that can be extracted (using automation) are Subject, SenderEmail, CreationTime, Body, SenderName, and HTMLBody. Is a "message id" or equivalent available somewhere, too?
推荐答案
展望通过跟踪相关消息的会话
Outlook tracks related messages by using Conversations.
在Outlook 2003中,有<一个href=\"http://msdn.microsoft.com/en-us/library/ms527833%28v=exchg.10%29.aspx\"><$c$c>ConversationTopic$c$c> ( MAPI: PR_CONVERSATION_TOPIC
的)及<一href=\"http://msdn.microsoft.com/en-us/library/ms528174%28v=exchg.10%29.aspx\"><$c$c>ConversationIndex$c$c>
( MAPI: PR_CONVERSATION_INDEX
的)。 ConversationTopic
通常是邮件主题(的减去prefixes - RE:/ FW:等的),而 ConversationIndex
重新presents的 ConversationTopic
的顺序排序(基本GUID +时间戳的)。请参见 MSDN上的对话合作。 ConversationIndex
明确定义一>
In Outlook 2003, there is ConversationTopic
(MAPI: PR_CONVERSATION_TOPIC
) & ConversationIndex
(MAPI: PR_CONVERSATION_INDEX
). ConversationTopic
is typically the message subject (minus prefixes - RE:/FW:, etc.), while ConversationIndex
represents the sequential ordering of the ConversationTopic
(essentially GUID + timestamp). See Working with Conversations on MSDN. ConversationIndex
is explicitly defined on MSDN here.
在Outlook 2010中,他们增加<一个href=\"http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._mailitem.conversationid.aspx\"><$c$c>ConversationID$c$c> ( MAPI: PR_CONVERSATION_ID
的),这是从 ConversationTopic
导出。 的conversationId
可以从 ConversationTopic
为<一生成href=\"http://social.msdn.microsoft.com/Forums/en-US/outlookdev/thread/0d0a9672-c4b6-49f7-a93d-12be2dc5cc36/\">discussed这里。
In Outlook 2010, they added ConversationID
(MAPI: PR_CONVERSATION_ID
) which is derived from the ConversationTopic
. ConversationID
can be generated from the ConversationTopic
as discussed here.
有关味精协议规范关于对话更详细的信息看的 [MS-OXOMSG]:E-Mail对象协议规范,部分2.2.1.2 2.2.1.3和
For more detailed info about the MSG protocol specs regarding Conversations see [MS-OXOMSG]: E-Mail Object Protocol Specification, section 2.2.1.2 and 2.2.1.3.
这篇关于展望是否嵌入其电子邮件元素的邮件ID或等同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!