sbreen
asked on
Exchange email attributes - smtp accounts
I feel that this is an advanced question, so if you get this congrats, points well deserved. I have users which have default SMTP account attributes as well as other smtp email accounts. Lets say that my primary email and other smtp email is:
SMTP: myself@mail.mymail.com
smtp: myself@mymail.com
When doing an LDAP query, I do searches on the Primary email attribute which is "mail" and also the Email alias attribute which is "proxyAddresses". This returns the primary SMTP email which in the example is myself@mail.mymail.com. Does anyone know what the email attribute and email alias attribute are for the other email address?
Thanks,
Shaun
SMTP: myself@mail.mymail.com
smtp: myself@mymail.com
When doing an LDAP query, I do searches on the Primary email attribute which is "mail" and also the Email alias attribute which is "proxyAddresses". This returns the primary SMTP email which in the example is myself@mail.mymail.com. Does anyone know what the email attribute and email alias attribute are for the other email address?
Thanks,
Shaun
proxyAddresses actually contains an array of all the email addresses. I think you already discovered that the one beginning with SMTP: (i.e. upper case) is the primary one.
ASKER
correct, proxyAddresses returns multiple addresses. Is there an email attribute that will return the non-primary email address?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.