Skip to content

Instantly share code, notes, and snippets.

@lilliealbert
Created April 18, 2013 20:57
Show Gist options
  • Save lilliealbert/5416159 to your computer and use it in GitHub Desktop.
Save lilliealbert/5416159 to your computer and use it in GitHub Desktop.
Sending a campaign test to multiple recipients
<?php
$vr->sendEmailCampaignTest(
array(
'session_id' => $sid,
'campaign_id' => $cid,
'recipients' => array(
array(
array(
'name' => "email_address",
'value' => '[email protected]',
),
array(
'name' => "first_name",
'value' => 'API'
)
),
array(
array(
'name' => "email_address",
'value' => '[email protected]',
),
array(
'name' => "first_name",
'value' => 'Lillie'
)
)
)
)
);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment