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

#7718
Support 3
Participant

    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