How to have two separated contacts with same email address?

拈花ヽ惹草 提交于 2019-12-13 07:09:21

问题


Using Exchange 2013 and Outlook 2013, I need to have two separated contacts with same email address. What I've seen is once I create a contact with an email address, for the second contact (even though I choose to create a new contact instead of update the existing one) Outlook merges two contacts details. Now the question is, is this doable at all? Can I have two or more contacts sharing same email address but having isolated details?

In fact, I'm using ews managed API to do this programmatically, but that doesn't matter because same thing happens by using Outlook directly.

Update: Looks like Outlook 2013 by default links contacts with the same email address. And according to this post Office Community the only way to stop that is changing a registry key! Now I wonder if it's possible to stop this from Exchange side.


回答1:


You can turn off Duplicated detection in Outlook in the Option-Contacts, in EWS it shouldn't be doing any duplicate detection, if the contact is in the GAL then it will resolve it to the GAL address. Generally in this case your creating a OneOff Email address for a contact you can ensure that unique by using a different display-name when your create the contact. eg

        Contact contact1 = new Contact(service);
        contact1.GivenName = "Fred";
        contact1.Surname = "Smith";
        contact1.EmailAddresses[EmailAddressKey.EmailAddress1] = new EmailAddress("fred smith1", "fsmith@domain.com");
        contact1.Save();

Cheers Glen



来源:https://stackoverflow.com/questions/33469557/how-to-have-two-separated-contacts-with-same-email-address

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!