If you getting an X500 Address that generally means there is Directory object (in Active Directory) for that sender, if its an external sender then it most probably there is an AD Contact from that Sender. The best thing to do is just use resolve method in CDO to resolve the X500 Address to the Directory object and you should then be able to get the associated SMTP Address from the recipient object. (you also just use LDAP to lookup Active Directory directly).
Cheers
Glen
If you getting an X500 Address that generally means there is Directory object (in Active Directory) for that sender, if its an external sender then it most probably there is an AD Contact from that Sender. The best thing to do is just use resolve method in CDO to resolve the X500 Address to the Directory object and you should then be able to get the associated SMTP Address from the recipient object. (you also just use LDAP to lookup Active Directory directly).
Cheers
Glen
- Proposed as answer by Jason Johnston [MSFT]Microsoft employee, Moderator Monday, March 23, 2015 3:08 PM
- Marked as answer by Hemant Kumar Srivastava 1 hour 27 minutes ago