summaryrefslogtreecommitdiffstats
path: root/examples/transmission/send_transmission_all_fields.php
diff options
context:
space:
mode:
authornornholdj <nornholdj@gmail.com>2014-11-10 14:40:51 -0500
committernornholdj <nornholdj@gmail.com>2014-11-10 14:40:51 -0500
commit638798a8fa0447d8ed0911752a7d0ba907b921e3 (patch)
treef83c83ac55f099673efecdb511a7d0edd99793f7 /examples/transmission/send_transmission_all_fields.php
parentfea870e7ce1a59accdb4e2e4be2c41170523d4c7 (diff)
downloadphp-sparkpost-638798a8fa0447d8ed0911752a7d0ba907b921e3.zip
php-sparkpost-638798a8fa0447d8ed0911752a7d0ba907b921e3.tar.gz
php-sparkpost-638798a8fa0447d8ed0911752a7d0ba907b921e3.tar.bz2
Updated SparkPost References and updated docs and mappings to reflect
updated config lists.
Diffstat (limited to 'examples/transmission/send_transmission_all_fields.php')
-rw-r--r--examples/transmission/send_transmission_all_fields.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/transmission/send_transmission_all_fields.php b/examples/transmission/send_transmission_all_fields.php
index 6064e67..da5ddff 100644
--- a/examples/transmission/send_transmission_all_fields.php
+++ b/examples/transmission/send_transmission_all_fields.php
@@ -1,8 +1,8 @@
<?php
namespace Examples\Transmisson;
require_once (dirname(__FILE__).'/../bootstrap.php');
-use MessageSystems\SparkPost;
-use MessageSystems\Transmission;
+use SparkPost\SparkPost;
+use SparkPost\Transmission;
$key = 'YOURAPIKEY';
SparkPost::setConfig(['key'=>$key]);
@@ -19,11 +19,11 @@ try{
],
"description"=>"my description",
"replyTo"=>"reply@test.com",
- "headers"=>[
+ "CustomHeaders"=>[
"X-Custom-Header"=>"Sample Custom Header"
],
- "openTracking"=>false,
- "clickTracking"=>false,
+ "trackOpens"=>false,
+ "trackClicks"=>false,
"from"=>"From Envelope <from@example.com>",
"html"=>"<p>Hello World! Your name is: {{name}}</p>",
"text"=>"Hello World!",