Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CNContactStore.ContactsMatchingEmailAddress

Find the contacts whose email address matches the specified value.

Component Version macOS Windows Linux Server iOS SDK
Contacts 10.5 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CNContactStore.ContactsMatchingEmailAddress"; emailAddress )   More

Parameters

Parameter Description Example
emailAddress The email address to be matched.

Result

Returns list or error.

Description

Find the contacts whose email address matches the specified value.
Requires macOS 10.13 or newer.

Examples

Find someone by email:

Let([
email = "bob@monkeybreadsoftware.de";
contacts = MBS("CNContactStore.ContactsMatchingEmailAddress"; email);
contact = getValue(contacts; 1);
name = MBS( "CNContact.Name"; contact )
]; name)

See also

Release notes

Blog Entries

This function checks for a license.

Created 15th September 2020, last changed 23th November 2023


CNContactStore.ContactsInGroup - CNContactStore.ContactsMatchingName