/ Forums / Advansys Formativ / Creating Solutions with Formativ / Search after Email-Address in addressbook / Reply To: Search after Email-Address in addressbook
August 24, 2006 at 4:45 pm
#7718
You need to search AddressBook.AddressBookEntries collection to find items in the address book. See the “Filter Expressions” to modify the search criteria.
set oBook = groupwise.account.addressbooks.item("Formativ")
set oABEntries = oBook.AddressBookEntries.Find("(<E-Mail Address> CONTAINS ""*@advansyscorp.com*"")")
for each oEntry in oABEntries
msgbox oEntry.DisplayName & vbcrlf & oEntry.EmailAddress
next
Regards,
Advansys Support