summaryrefslogtreecommitdiffstats
path: root/examples/transmission
diff options
context:
space:
mode:
Diffstat (limited to 'examples/transmission')
-rw-r--r--examples/transmission/send_with_bcc.php8
-rw-r--r--examples/transmission/send_with_cc.php12
2 files changed, 10 insertions, 10 deletions
diff --git a/examples/transmission/send_with_bcc.php b/examples/transmission/send_with_bcc.php
index ce67862..7479c4a 100644
--- a/examples/transmission/send_with_bcc.php
+++ b/examples/transmission/send_with_bcc.php
@@ -36,8 +36,8 @@ try {
'email' => 'original.recipient@example.com',
],
'substitution_data' => [
- 'recipient_type' => 'Original'
- ]
+ 'recipient_type' => 'Original',
+ ],
],
[
'address' => [
@@ -45,8 +45,8 @@ try {
'header_to' => '"Original Recipient" <original.recipient@example.com>',
],
'substitution_data' => [
- 'recipient_type' => 'BCC'
- ]
+ 'recipient_type' => 'BCC',
+ ],
],
],
]);
diff --git a/examples/transmission/send_with_cc.php b/examples/transmission/send_with_cc.php
index fa1d9e9..7ad2a7b 100644
--- a/examples/transmission/send_with_cc.php
+++ b/examples/transmission/send_with_cc.php
@@ -36,8 +36,8 @@ try {
'email' => 'original.recipient@example.com',
],
'substitution_data' => [
- 'recipient_type' => 'Original'
- ]
+ 'recipient_type' => 'Original',
+ ],
],
[
'address' => [
@@ -46,13 +46,13 @@ try {
'header_to' => '"Original Recipient" <original.recipient@example.com>',
],
'substitution_data' => [
- 'recipient_type' => 'CC'
- ]
+ 'recipient_type' => 'CC',
+ ],
],
],
'customHeaders' => [
- 'CC' => '"Carbon Copy Recipient" <cc.recipient@example.com>'
- ]
+ 'CC' => '"Carbon Copy Recipient" <cc.recipient@example.com>',
+ ],
]);
echo 'Congrats! You sent an email with cc using SparkPost!';
} catch (\Exception $exception) {