You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@ $sparky = new SparkPost($httpAdapter, ['key'=>'YOUR API KEY']);
55
55
```
56
56
57
57
## 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.
58
59
59
60
```php
60
61
require 'vendor/autoload.php';
@@ -72,7 +73,7 @@ try {
72
73
'from'=>'From Envelope <from@sparkpostbox.com>',
73
74
'html'=>'<html><body><h1>Congratulations, {{name}}!</h1><p>You just sent your very first mailing!</p></body></html>',
74
75
'text'=>'Congratulations, {{name}}!! You just sent your very first mailing!',
0 commit comments