Skip to content

Commit 7ff00e6

Browse files
committed
Merge pull request #40 from SparkPost/issue-37
Update README.md, issue-37
2 parents 079c214 + 456e48d commit 7ff00e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ $sparky = new SparkPost($httpAdapter, ['key'=>'YOUR API KEY']);
5555
```
5656

5757
## Getting Started: Your First Mailing
58+
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.
5859

5960
```php
6061
require 'vendor/autoload.php';
@@ -72,7 +73,7 @@ try {
7273
'from'=>'From Envelope <from@sparkpostbox.com>',
7374
'html'=>'<html><body><h1>Congratulations, {{name}}!</h1><p>You just sent your very first mailing!</p></body></html>',
7475
'text'=>'Congratulations, {{name}}!! You just sent your very first mailing!',
75-
'substitutionData'=>['name'=>'YOUR FIRST NAME']
76+
'substitutionData'=>['name'=>'YOUR FIRST NAME'],
7677
'subject'=>'First Mailing From PHP',
7778
'recipients'=>[
7879
[

0 commit comments

Comments
 (0)