Skip to content

Conversation

@phansys
Copy link
Contributor

@phansys phansys commented Aug 21, 2012

# app/config/config.yml

monolog:
    handlers:        
        swift:
            type:       swift_mailer
            from_email: error@localhost
            to_email:   [email1@mail.com, email2@mail.com]  # or as always to_email:  email1@mail.com
            subject:    An Error Occurred!
            level:      debug

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why 'id' => $v? That should just be array($v) no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes @Seldaek, you're right.
Thank you!

@Seldaek
Copy link
Member

Seldaek commented Aug 21, 2012

Alright, looks good now, thanks!

Seldaek added a commit that referenced this pull request Aug 21, 2012
Allowed array of emails for "to_email" parameter.
@Seldaek Seldaek merged commit 10c3d6f into symfony:master Aug 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants