O
Olivier Lemonnier
Hi All,
I know how to create Exchange contact in mailbox but I can’t link my contact to a Exchange Mailbox (Global Access List).
RDOMail item = folder.Items.Add("IPM.Contact");
RDOContactItem contact = (RDOContactItem)item;
contact.Email1AddressType = “EX”;
contact.Email1Address = "/o=Exchange-staples/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=desdemonias"; //legacyExchangeDN
contact.Save();
When I click on EmailAddress Field Contact via Outlook, it doesn’t link to GAL Exchange user.
I also try this code but it doesn’t work too.
RDOMail item = folder.Items.Add("IPM.Contact");
RDOContactItem contact = (RDOContactItem)item;
String Email1AddressTypeTmp = contact.Email1AddressType;
String Email1AddressTmp = contact. Email1Address;
String Email1AddressIDTmp= contact.Email1EntryID;
contact.Email1AddressType = Email1AddressTypeTmp;
contact.Email1Address = Email1AddressTmp;
contact.Email1EntryID = Email1AddressIDTmp;
contact.Save();
I think, I need to initialize another properties but I don’t know wich one…
Thank you so much for your help !
Olivier Lemonnier
EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com/default.aspx?ref=ng
I know how to create Exchange contact in mailbox but I can’t link my contact to a Exchange Mailbox (Global Access List).
RDOMail item = folder.Items.Add("IPM.Contact");
RDOContactItem contact = (RDOContactItem)item;
contact.Email1AddressType = “EX”;
contact.Email1Address = "/o=Exchange-staples/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=desdemonias"; //legacyExchangeDN
contact.Save();
When I click on EmailAddress Field Contact via Outlook, it doesn’t link to GAL Exchange user.
I also try this code but it doesn’t work too.
RDOMail item = folder.Items.Add("IPM.Contact");
RDOContactItem contact = (RDOContactItem)item;
String Email1AddressTypeTmp = contact.Email1AddressType;
String Email1AddressTmp = contact. Email1Address;
String Email1AddressIDTmp= contact.Email1EntryID;
contact.Email1AddressType = Email1AddressTypeTmp;
contact.Email1Address = Email1AddressTmp;
contact.Email1EntryID = Email1AddressIDTmp;
contact.Save();
I think, I need to initialize another properties but I don’t know wich one…
Thank you so much for your help !
Olivier Lemonnier
EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com/default.aspx?ref=ng