A Notes calendar entry has an Item called "Chair", which is a distinguished name along the lines of "CN=My Name/OU=Something/O=SomethingElse". How do I convert this to an SMTP address such as "[email protected]"? I tried looking at NotesName which has an Addr821 property, but this only seems to work if you give it an SMTP address - when given a distinguished name, Addr821 gives you back the same thing.
One option I see is to use the address book, but how do I look it up using a distinguished name?
I assume I could look it up using LDAP, but how does my code find out the LDAP server (which in this case is Novell)?
Any help would be appreciated.
I am using c# with Interop.Domino.dll.