Martin,
In plugin code, JavaScript, workflows, Power Automate, and PowerApps you can use emailaddress1, emailaddress2, or emailaddress3 to make decisions and send emails.
I would say that you can consider emailaddress1 to be primary, but there is no metadata attribute to designate it as the primary.
In my experience with various database systems and CRMs, multiple email address fields can be problematic. For example in Dynamics CE you can have duplicate detection rules for emailaddress1, emailaddress2, and emailaddress3, but you can't compare across the three fields. So, without a custom solution, even with all of these rules it would still be possible to have a contact with
123@emaildomain.com as emailaddress1 and another contact with
123@emaildomain.com in emailaddress2. A human can see that these are likely the same person, but the system will treat them as distinct individuals unless you create custom code to handle it.
------------------------------
Andy Arndt
Minitab, Inc.
State College PA
------------------------------
Original Message:
Sent: Jan 08, 2021 09:44 AM
From: Martin Whelan
Subject: Contacts with 2 email addresses
Our contact database has 2 email addresses one is the official company email and the other is for external Gmail etc.
On certain apps we send out automatic emails using templates to the contact for case creation & resolution. I wondering if it is possible to get Dynamics to send the email using a particular field say internal only.
Also if a contact has both fields filled in which field does it pick up as he default email address.
------------------------------
Martin Whelan
Digital Platform Analyst
------------------------------