Skip to main content
Question

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

  • March 24, 2025
  • 1 reply
  • 17 views

Forum|alt.badge.img

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

1 reply

Forum|alt.badge.img+4

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