除了MAPI以外,还有其他方法知道两个不同的电子邮件地址属于一个Outlook帐户吗?

发布于 2025-02-09 04:33:30 字数 1863 浏览 0 评论 0原文

我正在尝试将我的应用程序与Outlook集成在一起。我提到办公室申请

当Outlook/Office帐户有两个不同的电子邮件地址时,我遇到了一个问题,Outlook将与两个电子邮件地址两次访问iContactManager.getContactbyuri() API。因为我不知道两个电子邮件地址属于一个帐户,所以我将把两个电子邮件的不同属性值返回到Outlook,最终导致Outlook在联系页面上显示出意外的状态。

For example, one Outlook account Glider has two email addresses [电子邮件 受保护]]。在我的应用程序中,帐户&nbs  is in the presence state of busy, while [email protected]处于自由状态。

因为我不知道and [email protected] belong to one Outlook帐户Glider,当Outlook调用getContactByuri() api时,我将在我的本地创建两个icontact实例,他们将返回不同的存在状态值到Outlook。最后,在Outlook中的Glider的联系页面上,其存在状态是免费的。

我知道Mapi可以解决这个问题,但是还有其他方法吗?

I am trying to integrate my application with Outlook. I have referred to Integrating IM applications with Office.

I met an issue when an Outlook/Office account has two different email addresses, Outlook will call the IContactManager.GetContactByUri() API twice with the two email addresses. Because I don't know the two email addresses belongs to one account, I will return different property values of the two emails to Outlook, which finally lead to Outlook showing an unexpected state on the contact page.

For example, one Outlook account Glider has two email addresses [email protected] and [email protected]. In my application, account [email protected] is in the presence state of busy, while [email protected] is in the presence state of free.

Because I don't know [email protected] and [email protected] belong to one Outlook account Glider, when Outlook calls the GetContactByUri() API, I will create two IContact instances on my local, and they will return different presence state values to Outlook. Finally, on the contact page of Glider in Outlook, its presence state is free.

I know MAPI can solve this, but is there any other way?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妖妓 2025-02-16 04:33:30

对于一个交换帐户,多个代理地址存储在pr_ems_ab_proxy_addresses mapi属性(dasl name http://schemas.microsoft.com/mapi.com/mapi/mapi/proptag/proptag/0x800f101f),这是其中,可以使用equeptEntry.propertyaccessor.getProperty在Outlook对象模型中访问。

For an Exchange account, multiple proxy addresses are stored in the PR_EMS_AB_PROXY_ADDRESSES MAPI property (DASL name http://schemas.microsoft.com/mapi/proptag/0x800F101F), which can be accessed in Outlook Object Model using AddressEntry.PropertyAccessor.GetProperty.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文