Closed hkonnet closed 10 years ago
Wouldn't simply setting dev-email
to an array of recipients work?
No Anluntro! you have to made some changes in ExceptionMailer
Class. then it will work you can set dev-email
to a string as well as an array of emails.
All the ExceptionMailer
does is take the dev-email
config key and pass it to Illuminate\Mail\Message->to()
, which takes an array of recipients, which should make it send to all of them. Then again, the Laravel code could be bugged.
Anlutro i tried an array of emails in dev-email
but that was not working that's why i ask that..
The following worked for me. Make sure your packages are up-to-date and that your mailer is set up correctly.
Route::get('/e', function() {
Config::set('smarterror::dev-email', ['andreas@myworkemail.com', 'anlutro@gmail.com']);
throw new \Exception('Smarterrors test exception');
});
Hello Guys,
I think it would be a wonderful idea if we can send error emails to multiple users right now we can send email to a single user mention in config file but i think "dev-email" should be an array for multiple recipients.
I can do this by the way..
Thanks.