检索同一线程中的所有Outlook邮件 [英] Retrieving all Outlook messages in same thread

查看:77
本文介绍了检索同一线程中的所有Outlook邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在Outlook之上构建某种通讯管理系统.我们希望实现的重要任务之一是,在同一线程中检索所有消息(.msg文件??)及其附件,并将它们放入CMS存储库中的同一文件夹中.

We are building sort of Communication Management System atop Outlook. One of the important task we wish to achieve is to retrieve all the messages (.msg files??) in the same thread along with their attachments and put them in the same folder inside CMS's repository .

我们面临的问题是,我们如何以编程方式知道特定消息(或.msg文件?)和附件属于特定线程.

The problem we are facing is how do we know programatically that particular message (or .msg file??) and attachment belongs to the particular thread.

对于第一个消息,我们在存储库中创建了一个文件夹.然后,我们希望作为对原始邮件的答复而发送的所有邮件(以及附件)都将自动发送到同一文件夹中.

Say for a first message we create a folder in a repository. Then we want all the messages (along with attachments) sent as a reply to the original message to go automatically in the same folder.

我试图查找它们是否是在.msg文件中设置的任何标头来标识线程,但没有找到任何内容.

I tried to find if their is any header set in .msg file to identify the thread, but did not found anything.

但仍然好奇Outlook客户端如何显示按通信线程层次结构排列的消息.因此,必须有某种方法可以检索存储在某处的此信息.我只想知道如何访问它.

But still curious how the Outlook client can show the messages arranged as communication thread hierarchy. So there must be some way that we can retrieve this information stored somewhere. I just want to know how can I access it.

推荐答案

使用PR_CONVERSATION_INDEX属性(您可以在 OutlookSpy (如果您单击IMessage按钮)
对话跟踪记录在MSDN上: http://msdn.microsoft.com/zh-CN/library/office/cc765583.aspx

Use PR_CONVERSATION_INDEX property (you can see it in OutlookSpy if you click the IMessage button)
Conversation tracking is documented on MSDN: http://msdn.microsoft.com/en-us/library/office/cc765583.aspx

这篇关于检索同一线程中的所有Outlook邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆