Skip to content

Commit 0366d6e

Browse files
committed
[#3940] Adding php example for an array of emails
1 parent 7e09383 commit 0366d6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cookbook/logging/monolog_email.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ it is broken down.
2929
from_email: [email protected]
3030
3131
# or list of recipients
32-
# to_email: [developer_1@example.com, developer_2@example.com, ...]
32+
# to_email: [dev1@example.com, dev2@example.com, ...]
3333
subject: An Error Occurred!
3434
level: debug
3535
@@ -82,6 +82,8 @@ it is broken down.
8282
'type' => 'swift_mailer',
8383
'from_email' => '[email protected]',
8484
'to_email' => '[email protected]',
85+
// or a list of recipients
86+
// 'to_email' => array('[email protected]', '[email protected]', ...),
8587
'subject' => 'An Error Occurred!',
8688
'level' => 'debug',
8789
),

0 commit comments

Comments
 (0)