Sending a triggered send to multiple To/CC/BCC recipients via the API
The BCC functionality needs to be enabled on your account first. Talk to your account rep for details. You can see the note about it on the bottom of this page: http://help.exacttarget.com/en-US/technical_library/web_service_guide/objects/triggeredsenddefinition/
The CC/BCC
functionality is an additional feature that is typically not enabled by default.
You can check to see if it is enabled by going into the TriggeredSend section under the Interactions Tab, go into the TriggeredSend Definition
that is defined and if the feature is enabled
then you will see fields for CC
and BCC
there. If not, then you will need to contact your ExactTarget relationship manager in order to get that enabled.
By default the CC/BCC
fields on the TriggeredSend Definition
are designed to be populated with a static value when the definition is created so that every email sent through that definition will be copied to that address.
It is possible to setup a definition in order to send to dynamic CC/BCC
email addresses which are defined in the API.
In order to make the CC/BCC
fields dynamic:
- Create a profile attribute to hold the dynamic value, for example call it "BCCAddress"
- Update the TriggeredSendDefinition so that the BCC field contains a
reference to that profile attribute using the substitution string format:
%%BCCAddress%%
- Make sure to publish the
TriggeredSendDefinition
after making changes if it was already published - Update the API request so that it passed a value for
BCCAddress
as an Attribute on the Subscriber object similar to how you are likely passing other profile attributes. If you need to have multiple addresses receive theCC/BCC
then a semi-colon just needs to separate them.