Support the ongoing development of Laravel.io →
Configuration Mail
Last updated 1 year ago.
0
// 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?

Last updated 1 year ago.
0

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 :'(

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.