Skip to main content
Question

How to implement 'Receives a Copy' using apex tool kit salesforce

  • March 24, 2025
  • 1 reply
  • 63 views

Forum|alt.badge.img

How to implement 'Receives a Copy' using apex tool kit salesforce

1 reply

Forum|alt.badge.img+5

You can specify the type for example:

new List<dfsle.Recipient> {
dfsle.Recipient.fromSource(
'John Smith', // Recipient name
'john@smith.com', // Recipient email
null, //Optional phone number
'CC', //Role Name. Specify the exact role name from template
null)
.withType(dfsle.Recipient.TYPE_CARBON_COPY)
};