diff options
author | Avi Goldman <avrahamymgoldman@gmail.com> | 2016-08-25 11:52:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-25 11:52:44 -0400 |
commit | 1bbefef4df13778b5924e959047124f075ac38e6 (patch) | |
tree | daba6298beb07c0ef4bbdb2dfd135ec2ddfb8df5 /examples/transmissions/create_transmission_with_cc_and_bcc.php | |
parent | e325c046ac4d3478b1f5b70085162e9f932e071b (diff) | |
download | php-sparkpost-1bbefef4df13778b5924e959047124f075ac38e6.zip php-sparkpost-1bbefef4df13778b5924e959047124f075ac38e6.tar.gz php-sparkpost-1bbefef4df13778b5924e959047124f075ac38e6.tar.bz2 |
Updating examples (#139)
* added example of getting transmission by ID
* updated example messages and added example with recipient list and template
* fixed lib to work with recipient lists
* fixed lib to work with recipient lists
* added test covering recipient list
* added message event example
* added template examples
Diffstat (limited to 'examples/transmissions/create_transmission_with_cc_and_bcc.php')
-rw-r--r-- | examples/transmissions/create_transmission_with_cc_and_bcc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/transmissions/create_transmission_with_cc_and_bcc.php b/examples/transmissions/create_transmission_with_cc_and_bcc.php index eab64b8..5e1bf23 100644 --- a/examples/transmissions/create_transmission_with_cc_and_bcc.php +++ b/examples/transmissions/create_transmission_with_cc_and_bcc.php @@ -21,9 +21,9 @@ $promise = $sparky->transmissions->post([ 'name' => 'SparkPost Team', 'email' => 'from@sparkpostbox.com', ], - 'subject' => 'First Mailing From PHP', - '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!', + 'subject' => 'Mailing With CC and BCC From PHP', + 'html' => '<html><body><h1>Congratulations, {{name}}!</h1><p>You just sent your very first mailing with CC and BCC recipients!</p></body></html>', + 'text' => 'Congratulations, {{name}}! You just sent your very first mailing with CC and BCC recipients!', ], 'substitution_data' => ['name' => 'YOUR_FIRST_NAME'], 'recipients' => [ |