At work everyone has a UserID and an e-mail address.
I can get the e-Mail of the UserID using Outlook.
For example I have a UserID: myUser1
.
Using Outlook and putting into the To
Section myUser1
inside and pressing ctrl + k
, the according e-Mail address will be added.
Now I want to implement that into my C# Form. I have hundreds of UserIDs and want to send a Mail to each of them.
So, how can I access the Contacts with known UserIDs(Outlook Initials)?