Salesforce Fact #537 | Contact & Lead email opt out

There is a checkbox field 'HasOptedOutOfEmail' in Lead and Contact which specifies the lead's or contact's opt in or opt out choice of receiving email. 

If the checkbox is true and an attempt is made to send the email to lead or contact, the error: 'This person opted out of commercial email' is encountered.


Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow