Getting all the contacts from a group

Y

Yago

Does anyone know how to get a list (the list of emails) of all the
people within a group?

We have several groups in our contact list and I'm trying
to get (programatically) the email addresses contained
within that group.

I've been trying using the AddressEntries object but I haven't
been very successfull. Any hints anyone?


Kind Regards,
Yago
 
K

Ken Slovak - [MVP - Outlook]

What do you mean by a group and how do you set up a group? Is your contacts
list a Contacts folder or something like an Exchange Global Address List?

If it's a contact just get each member of the group as a ContactItem and
read the 3 email fields for each one. Remember though that in secure
versions of Outlook accessing a contact's email addresses will fire the
security prompts.
 
Top