/ Forums / Advansys Formativ / Creating Solutions with Formativ / Search after Email-Address in addressbook / Reply To: Search after Email-Address in addressbook

Support 3

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

Advansys Support