How to have two separated contacts with same email address? - outlook

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.

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

Related

How do I get the memberships (distribution groups) of an Outlook contact programmatically?

Using office Outlook, we can find the 'Memberships' tab when we click and expand a contact, this 'Memberships' tab shows the list of emails that the user is subscribed to.
For example, Employee X (x.x#zcompany.com / id123#zcompany.com) under the Data Department of Z Company is subscribed to the following distribution groups:
datateam#zcompany.com
allemployeees#zcompany.com
dataweekly#zcompany.com
it.uk#zcompany.com
znewsletter#zcompany.com
I would like to get the list of emails the user is subscribed to by inputting either the user's email or user's organization ID.
I found a few potential solutions but do not know exactly how to implement them:
Outlook Interop GetMemberOfList() and GetExchangeDistributionList()
Using Microsoft Graph API
VBA automation for Outlook
Reverse engineering using ExchangePowershell
Using RPA to imitate user actions on Outlook
Wonder if someone with experience doing this can provide some advice? Thanks in advance.
In OOM, call Application.Session.CreateRecipient, Recipient.Resolve, Recipient.AddressEntry.GetExchangeUser(). ExchangeUser exposes GetMemberOfList() method, which returns IAddressEntries object.

Prevent Outlook autodiscover wizard from filling the email address

I would like to prevent outlook from filling the email address field in the auto account setup wizard when domain joined.
An example of my scenario is described here:
http://blogs.technet.com/b/kristinw/archive/2013/04/19/controlling-outlook-autodiscover-behavior.aspx
Is it possible to do so?
The Outlook extensibility model doesn't provide anything for that.
A registry key is available, solution here : http://www.dotnetmikael.com/2015/02/outlook-profiles-prevent-account-setup.html

How To Create an Exchange 2010 Email That Just Distributes Its Received Emails to Other Users?

How do you accomplish setting up an Exchange email that is made just to have users send email to it, then have that email automatically distribute received emails to specified email addresses?
I figured this out. I need to create a distribution group within the Exchange 2010 ECP (Exchange Control Panel) by going to remote.mydomain.com/ecp and creating a distribution group with the desired associated users.

microsoft outlook how to send an email from an email group which I belong to?

I belong to a email group in the company I work for, such as for example, researchteam#company.com. My personal email is raulmercado#company.com. I want to send emails from researchteam#company.com instead of raulmercado#company.com. I'm using Microsoft Outlook and Exchange as a Email Server.
Thanks for your help!
If you using Outlook 2010 then you could try MailItem.SendUsingAccount property.
Here is an example
Exchange always sends out all emails coming from the default email address. And for each Exchange mailbox this default address is fixed and can not be changed in Outlook. You can use one of two options:
You can create an additional mailbox in Exchange for the second address (as the default email there of course) and then give your normal account "Send-As" rights for that new account. Then you can switch on the "FROM" field in Outlook (right-click options > Show Fields > From) and use that field to select the account you want to send from. In Outlook 2013 you can also just connect to the additional Exchange account and might get slighly easier switching.
You can use a 3rd party tool like ChangeSender (http://www.servolutions.com/changesender.htm) to get automatic switching of the accounts when you answer email (answered automatically with the account the email was received under).
Hope this helps - Claus

Reply to functionality in mscrm 2011 Email Entity

Outlook allows you to set the default reply-to address to something other than your own email,
but you can also use more than one email address into that field, which will tell the recipient’s mail client to reply to a list of email addresses,
not just yours. Is it possible to achieve reply to functionality in mscrm 2011, out of box functionality is present? I want to achieve functionality to the link given below in mscrm2011. http://www.howtogeek.com/howto/microsoft-office/send-email-replies-to-another-recipient-in-outlook-2007/. Any help will be highly appreciated
CRM cannot meet this requirement as it is currently designed. If you look at the Email Provider documentation (it is only available in the CRM 4 SDK, not the 2011 SDK) there is no property for a reply-to address. (Here is the link: http://msdn.microsoft.com/en-us/library/cc905922)
It might be possible if you coded a custom e-mail provider but you would be taking on a good bit of work if you went down that path.
I would suggest looking into if this can be on the Exchange server (or whatever e-mail system you are using.) I'm by no means an Exchange expert so I don't know what is possible on the Exchange platform, but I do know that CRM does support setting the reply-to address.

Resources