From 456e48d9e75a1b57a4303af3cfb18fc95a3f0a62 Mon Sep 17 00:00:00 2001 From: Jordan Nornhold Date: Tue, 23 Feb 2016 17:22:07 -0500 Subject: [PATCH] Update README.md closes #37 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ', 'html'=>'

Congratulations, {{name}}!

You just sent your very first mailing!

', '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'=>[ [