Skip to content

Commit

Permalink
[#3940] Adding php example for an array of emails
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Aug 16, 2014
1 parent 7e09383 commit 0366d6e
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: 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
Expand Down Expand Up @@ -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',
),
Expand Down

0 comments on commit 0366d6e

Please sign in to comment.