diff --git a/.gitignore b/.gitignore index 2a3997f..1de03f5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ .DS_Store vendor composer.phar +smoketest.php +rackspace_logo.jpg +mailgun_icon.png diff --git a/mailgun_icon.png b/mailgun_icon.png deleted file mode 100644 index 604f673..0000000 Binary files a/mailgun_icon.png and /dev/null differ diff --git a/rackspace_logo.jpg b/rackspace_logo.jpg deleted file mode 100644 index 46360a0..0000000 Binary files a/rackspace_logo.jpg and /dev/null differ diff --git a/test.php b/test.php deleted file mode 100644 index 9d3b5ec..0000000 --- a/test.php +++ /dev/null @@ -1,63 +0,0 @@ -Messages()->MessageBuilder(); -/* -$message = $client->MessageBuilder(); - -$message->setFromAddress("travis@tswientek.com", array("first"=>"first")); - -$message->addToRecipient("travis@tswientek.com", array("first"=>"first")); -$message->setSubject("%recipient.first%, This is the subject of the message!"); -$message->setTextBody("%recipient.first%, This is the text body of the message!"); -$message->setHtmlBody("%recipient.first%, %recipient.my.id% This is the html body of the message!"); -$message->addAttachment("@mailgun_icon.png"); -$message->addAttachment("@rackspace_logo.jpg"); -$message->setTestMode("yes"); -$message->setDkim("yes"); -//$message->setDeliveryTime("January 15, 2014 8:00AM", "CST"); -$message->setOpenTracking("yes"); -$message->setClickTracking("yes"); -$message->addCustomOption("o:myoption", "true"); -$message->addCampaignId("askldf"); -$message->addCustomData("mycustomdata", array("name"=> "travis")); - -echo count(array()); -*/ - - -var_dump($client->Unsubscribes()->addAddress("travis@myreallycrappydomain.com")); -var_dump($client->Unsubscribes()->getAddress("travis@myreallycrappydomain.com")); -var_dump($client->Unsubscribes()->getAddresses(50, 2)); - -/* -var_dump($message->getMessage()); -var_dump($message->getFiles()); - -var_dump($message->sendMessage()); -*/ -//$message->addBatchRecipient("travis@tswientek.com", array("first" => "Travis", "last" => "Swientek", "my.id" => "ABC12345")); -/* - -for($i = 0; $i<5; $i++){ - $message->addBatchRecipient("travis@".$i."test.com", array("first" => "$i - First", "last" => "$i - Last", "my.id" => "ABC12345")); -} - -$message->endBatchMessage(); - - -//echo $client->sendMessage($message->getMessage())->getBody(); - -*/ -?> \ No newline at end of file