summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRichard Leland <rich@richleland.com>2016-02-25 14:25:28 -0500
committerRichard Leland <rich@richleland.com>2016-02-25 14:25:28 -0500
commit7ff00e6104ac19d9a2fe20a8a03df469cb6910f6 (patch)
treec4c6358d811dce37b84bfac8578d252b87f80536 /README.md
parent079c21446283a4adc3a4ac6f7c0c9ad7f86d34b7 (diff)
parent456e48d9e75a1b57a4303af3cfb18fc95a3f0a62 (diff)
downloadphp-sparkpost-7ff00e6104ac19d9a2fe20a8a03df469cb6910f6.zip
php-sparkpost-7ff00e6104ac19d9a2fe20a8a03df469cb6910f6.tar.gz
php-sparkpost-7ff00e6104ac19d9a2fe20a8a03df469cb6910f6.tar.bz2
Merge pull request #40 from SparkPost/issue-37
Update README.md, issue-37
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index c8ea169..99fa423 100644
--- a/README.md
+++ b/README.md
@@ -55,6 +55,7 @@ $sparky = new SparkPost($httpAdapter, ['key'=>'YOUR API KEY']);
```
## Getting Started: Your First Mailing
+For this example to work as is, [Guzzle 6 will need to be installed](http://docs.guzzlephp.org/en/latest/overview.html#installation). Otherwise another adapter can be used for your specific setup. See "Setting up a Request Adapter" above.
```php
require 'vendor/autoload.php';
@@ -72,7 +73,7 @@ try {
'from'=>'From Envelope <from@sparkpostbox.com>',
'html'=>'<html><body><h1>Congratulations, {{name}}!</h1><p>You just sent your very first mailing!</p></body></html>',
'text'=>'Congratulations, {{name}}!! You just sent your very first mailing!',
- 'substitutionData'=>['name'=>'YOUR FIRST NAME']
+ 'substitutionData'=>['name'=>'YOUR FIRST NAME'],
'subject'=>'First Mailing From PHP',
'recipients'=>[
[