// set config to pretend
$config::set('mail.pretend', true);
Should be
// set config to pretend
Config::set('mail.pretend', true);
I don't think thats the right way though. Can't you just pass a flag with the event, that tells your mailer script/class not to send an email?
Herlevsen said:
// set config to pretend $config::set('mail.pretend', true);
Should be
// set config to pretend Config::set('mail.pretend', true);
I don't think thats the right way though. Can't you just pass a flag with the event, that tells your mailer script/class not to send an email?
Sure, but i expect a great framework like L4 to have a solution that is more robust. In my case i mail through 1 point, so no problem. But what if you are a crappy programmer and the application mails in like 20 places?
So this is not in L4? To bad :'(
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community