Skip to content

Commit

Permalink
minor #4135 [#3940] Adding php example for an array of emails (weaver…
Browse files Browse the repository at this point in the history
…ryan)

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
  • Loading branch information
weaverryan committed Aug 16, 2014
2 parents 4b93ef0 + 0366d6e commit 6e90520
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cookbook/logging/monolog_email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ it is broken down.
from_email: [email protected]
to_email: [email protected]
# or list of recipients
# to_email: [developer_1@example.com, developer_2@example.com, ...]
# to_email: [dev1@example.com, dev2@example.com, ...]
subject: An Error Occurred!
level: debug
Expand Down Expand Up @@ -82,6 +82,8 @@ it is broken down.
'type' => 'swift_mailer',
'from_email' => '[email protected]',
'to_email' => '[email protected]',
// or a list of recipients
// 'to_email' => array('[email protected]', '[email protected]', ...),
'subject' => 'An Error Occurred!',
'level' => 'debug',
),
Expand Down

0 comments on commit 6e90520

Please sign in to comment.