Skip to content

Commit 6e90520

Browse files
committed
minor #4135 [#3940] Adding php example for an array of emails (weaverryan)
This PR was merged into the 2.3 branch. Discussion ---------- [#3940] Adding php example for an array of emails This follows #3940. It just adds the example also to PHP. But I can't see how this would work with XML. | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3+ | Fixed tickets | Thanks! Commits ------- 0366d6e [#3940] Adding php example for an array of emails
2 parents 4b93ef0 + 0366d6e commit 6e90520

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)