diff options
author | Richard Leland <rich@richleland.com> | 2016-06-14 09:37:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-14 09:37:56 -0400 |
commit | 1b61a81471fc46cde5a515381e9642e0c884481c (patch) | |
tree | 6d61a369ba8f9386d2ce69de2690a985792f50d4 | |
parent | aac8412f0b6a12dd26b21e891a6f216e0a1c88e2 (diff) | |
download | php-sparkpost-1b61a81471fc46cde5a515381e9642e0c884481c.zip php-sparkpost-1b61a81471fc46cde5a515381e9642e0c884481c.tar.gz php-sparkpost-1b61a81471fc46cde5a515381e9642e0c884481c.tar.bz2 |
Add inline images to transmissions example
-rw-r--r-- | examples/transmission/send_transmission_all_fields.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/transmission/send_transmission_all_fields.php b/examples/transmission/send_transmission_all_fields.php index 986fd87..84dfa9b 100644 --- a/examples/transmission/send_transmission_all_fields.php +++ b/examples/transmission/send_transmission_all_fields.php @@ -59,6 +59,13 @@ try { 'data' => base64_encode($data), ], ], + 'inlineImages' => [ + [ + 'type' => 'image/png', + 'name' => 'cid-name', + 'data' => base64_encode($data), + ], + ], ]); echo 'Congrats! You sent an email using SparkPost!'; |