Skip to content

Instantly share code, notes, and snippets.

@sebmih
Created July 17, 2013 10:24
Show Gist options
  • Select an option

  • Save sebmih/6019414 to your computer and use it in GitHub Desktop.

Select an option

Save sebmih/6019414 to your computer and use it in GitHub Desktop.
The $params array using Unique Arguments
$params = array(
'api_user' => $user,
'api_key' => $pass,
'to' => $adresa,
'subject' => $subiect,
'text' => $mesaj,
'html' => $html,
'x-smtpapi' => '{"unique_args": {"campaign_id":"121"}}',
'from' => $from
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment