Skip to main content
New Voice
March 24, 2025
Question

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

  • March 24, 2025
  • 1 reply
  • 153 views

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

1 reply

March 26, 2025

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)
};