How To: Add Email Recipients from Related Lists
Pull related list email addresses into To, CC, or BCC recipients.
Problem
Solution
<!--{{!
<lineitemsSOQL>
<class>none</class>
<soql>SELECT Email FROM Contact WHERE AccountId = '{{!Account.Id}}' AND Email != null</soql>
<column addToEmail="To">Email</column>
</lineitemsSOQL>
}}--><!--{{!
<lineitemsSOQL>
<class>none</class>
<soql>SELECT User.Email FROM AccountTeamMember WHERE AccountId = '{{!Account.Id}}'</soql>
<column addToEmail="CC">User.Email</column>
</lineitemsSOQL>
}}-->Important Notes
Complete Example
Tips
PreviousHow To: Create Multi-Page Documents with Page BreaksNextHow To: Split Field Values into Individual Cells
Last updated
Was this helpful?

