如何通过 Exchange 将邮件作为 Lync 对话历史记录发送
How to send a mail as Lync conversation history through Exchange
我通过从我的 UCMA Web 服务调用服务编写了一个 Lync 移动客户端。
但是我发现UCMA客户端之间的通信不会保存到Exchange中。
所以当我登录 Lync 客户端时,我看不到历史记录
我认为 EWS 为 Lync 提供了一些方法来将会话历史记录存储到用户的邮箱
但是我找不到发送此类邮件的方法。
有谁知道如何使用EWS来存储对话历史记录吗?
============================================= =====================
我发现 ConversationXml.{CA2F170A-A22B-4f0a-B899-93439DEC3FBC} 双击对话历史记录时必须遵循以下格式才能显示历史记录
<conversations xmlns="http://schemas.microsoft.com/2008/10/sip/convItems" minSupportedClientVersion="3.0.0.0">
<conversationXml>
<imReceived xmlns="http://schemas.microsoft.com/2008/10/sip/convItems" ts="2015-07-13T16:34:45Z" from="sip:tester@testenv.com" displayName="Tester" firstMessage="true" type="text/html">
<messageInfo type="text/html" msgid=""><DIV style="font-size: 10pt;font-family: 'Segoe UI';color: #000000;direction: ltr;font-weight: normal;font-style: normal;text-decoration: none">(H)</DIV></messageInfo>
</imReceived>
</conversationXml>
另外 PreviewMessage。{55324EE5-74F0-4727-876D-20ED1469CA65} 可以为对话历史记录选项卡上的消息预览分配任何字符串
Lync 客户端使用 EWS 在用户邮箱中创建项目(它不发送电子邮件)。例如,要获取 Lync 对话历史记录,您可以使用 https://msdn.microsoft.com/en-us/library/office/hh243707(v=office.14).aspx . To create conversation items you can use something like https://social.msdn.microsoft.com/Forums/office/en-US/bd7166b7-755e-4ba7-8ea4-d35727c1174c/using-exchange-web-services-api-insert-item-in-conversations-history-folder-in-outlook?forum=exchangesvrdevelopment
干杯
格伦
我通过从我的 UCMA Web 服务调用服务编写了一个 Lync 移动客户端。
但是我发现UCMA客户端之间的通信不会保存到Exchange中。
所以当我登录 Lync 客户端时,我看不到历史记录
我认为 EWS 为 Lync 提供了一些方法来将会话历史记录存储到用户的邮箱
但是我找不到发送此类邮件的方法。
有谁知道如何使用EWS来存储对话历史记录吗?
============================================= =====================
我发现 ConversationXml.{CA2F170A-A22B-4f0a-B899-93439DEC3FBC} 双击对话历史记录时必须遵循以下格式才能显示历史记录
<conversations xmlns="http://schemas.microsoft.com/2008/10/sip/convItems" minSupportedClientVersion="3.0.0.0">
<conversationXml>
<imReceived xmlns="http://schemas.microsoft.com/2008/10/sip/convItems" ts="2015-07-13T16:34:45Z" from="sip:tester@testenv.com" displayName="Tester" firstMessage="true" type="text/html">
<messageInfo type="text/html" msgid=""><DIV style="font-size: 10pt;font-family: 'Segoe UI';color: #000000;direction: ltr;font-weight: normal;font-style: normal;text-decoration: none">(H)</DIV></messageInfo>
</imReceived>
</conversationXml>
另外 PreviewMessage。{55324EE5-74F0-4727-876D-20ED1469CA65} 可以为对话历史记录选项卡上的消息预览分配任何字符串
Lync 客户端使用 EWS 在用户邮箱中创建项目(它不发送电子邮件)。例如,要获取 Lync 对话历史记录,您可以使用 https://msdn.microsoft.com/en-us/library/office/hh243707(v=office.14).aspx . To create conversation items you can use something like https://social.msdn.microsoft.com/Forums/office/en-US/bd7166b7-755e-4ba7-8ea4-d35727c1174c/using-exchange-web-services-api-insert-item-in-conversations-history-folder-in-outlook?forum=exchangesvrdevelopment
干杯 格伦