Permalink
Browse files

minor #4135 [#3940] Adding php example for an array of emails (weaver…

…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 6e90520d4c8ea72a90d910b0adac917e33e5d963
Showing with 3 additions and 1 deletion.
  1. +3 −1 cookbook/logging/monolog_email.rst
@@ -29,7 +29,7 @@ it is broken down.
from_email: error@example.com
to_email: error@example.com
# 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
@@ -82,6 +82,8 @@ it is broken down.
'type' => 'swift_mailer',
'from_email' => 'error@example.com',
'to_email' => 'error@example.com',
// or a list of recipients
// 'to_email' => array('dev1@example.com', 'dev2@example.com', ...),
'subject' => 'An Error Occurred!',
'level' => 'debug',
),

0 comments on commit 6e90520

Please sign in to comment.