Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

How to retrieve the Outlook user's SMTP address when Exchange is being used.

We have built an Outlook Add-In using Delphi 2006 & Add-In Express.
I need to know how to retrieve the Outlook user's SMTP address when Exchange is being used.
All I get back is '/o=BCL/ou=first administritive group/cn=Recipients/cn=martinb'.
I have found proposed solutions using LDAP etc but am unsure what to use with it.
Any sugestions/ help welcome.
0
gms2702
Asked:
gms2702
1 Solution
 
wtstaddCommented:
You can do an LDAP query and look for the "mail" attribute or "proxyaddresses"

Search Filter = (|(proxyAddresses=SMTP:<$EMAIL$>)(proxyAddresses=smtp:<$EMAIL$>)(mail=<$EMAIL$>)(userPrincipalName=<$EMAIL$>))

Search DN = DC=DOMAINNAME,DC=LOCAL
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now