This method sends a transactional email using a triggered campaign.
If sending to multiple recipients, please separate addresses with a comma.
Please note that this method doesn't add to your allotted total calls per hour.
There is no string length limit for the 'Name' and 'Value' values.
When sending a transactional email via this method, you'll note that you're not required to provide the subject line and the from address. This is because they will be directly taken from the 'Subject line and 'From address' of the triggered campaign as set up in Engagement Cloud. These are entered on the 'Provide a few campaign setup details' page in Engagement Cloud, which is the first step (Create) in the campaign creation process when creating or editing a campaign.
Please note: You'll receive the response 'ERROR_CAMPAIGN_CONTAINS_UNSUPPORTED_BLOCKS' if your triggered campaign contains any unsupported EasyEditor building blocks and links.
A note on HTML compatibility for personalisation content
When using transactional email personalisation, the type of personalised content needs to be compatible with the HTML element it's being put into within the triggered campaign. For example, if the operation contains a personalised table, it will need to go into a table element in the campaign, not a paragraph.
Check with your campaign designers to ensure that their campaign's elements are suitable for the personalisation content being used.
Input and output parameters
The input and output parameters for this method are:
- ToAddresses - array of string
- required; string
- CampaignID - required; integer
- PersonalizationValues - array of string
- optional; string
- Name - required; string
- Value - required; string