Hi Tina,
I'm not sure how you are sending the email. Is it through workflow or directly from the email entity? If it is from email entity and user is creating an email, it is better to give an alert to user as soon as he selected the contact in the recipients. The way to achieve this is simply through front-end. Write a function on change on the recipient field and check whether the contact has the field you mentioned in question(Do not allow) and if it is selected simply give an alert to user. You can show anything you want in the alert box and you can have a control to remove that user from the selection.
Please let me know if this helps you.
Thanks
------------------------------
Ram Kiran Yarramasu
Aha Apps
Glen Allen VA
https://www.linkedin.com/in/ram-yarramasu-252901196/------------------------------
Original Message:
Sent: Jan 29, 2020 04:51 PM
From: Tina Silver
Subject: Change the Do Not Allow Emails to = Do Not Allow
We changed a Contact record for Change the Do Not Allow Emails to = Do Not Allow. As a test, when we tried to send an email, we get an error message:
------------------------------
Tina Silver
Sr BSA, CSM®
SR Smith, LLC
Canby OR
------------------------------