Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. require('ET_Client.php');
  2. $myclient = new ET_Client();
  3. $subscriber = new ET_Subscriber();
  4. $subscriber->authStub = $myclient;
  5. $subscriber->props = array("EmailAddress" => "example@example.com", "SubscriberKey" => "SDKSubscriber");
  6. $subscriber->props['Attributes'] = array(array('Name' => 'First Name', 'Value' => 'ExactTarget Example'));
  7. $results = $subscriber->post();
  8. print_r($results);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement