I would like send $leads, $target, $hello variables to view emails.report
\Mail::send('emails.report', ['leads' => $leads], function ($m) use ($leads, $target, $hello) {
when i just do
\Mail::send('emails.report', ['leads' => $leads], function ($m) use ($leads) {
it works,
when I send more than 1 variable in use function it doesn't work. How can i send multiple vars ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire