diff options
author | Vincent Song <vincent.wsong@gmail.com> | 2016-06-13 07:11:10 -0400 |
---|---|---|
committer | Vincent Song <vincent.wsong@gmail.com> | 2016-06-13 07:11:10 -0400 |
commit | 8165433cbe36fb4a59b802e3892d746202757f0b (patch) | |
tree | 20ddd025580c2d8fe9bda4d589059ea53cc20860 /lib/SparkPost/Resource.php | |
parent | ec87c5aec0de52271268109f86a1e3aad7fec643 (diff) | |
download | php-sparkpost-8165433cbe36fb4a59b802e3892d746202757f0b.zip php-sparkpost-8165433cbe36fb4a59b802e3892d746202757f0b.tar.gz php-sparkpost-8165433cbe36fb4a59b802e3892d746202757f0b.tar.bz2 |
Sending works, cc/bcc headers don't.
Diffstat (limited to 'lib/SparkPost/Resource.php')
-rw-r--r-- | lib/SparkPost/Resource.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SparkPost/Resource.php b/lib/SparkPost/Resource.php index 57dfd24..91038d5 100644 --- a/lib/SparkPost/Resource.php +++ b/lib/SparkPost/Resource.php @@ -20,7 +20,7 @@ class Resource public function post($payload, $header) { - echo $payload; + echo "<textarea>" . json_encode($payload) . "</textarea>"; return $this->sparkpost->request('POST', $this->endpoint, $payload, $header); } } |