How to specify sender for email reports which are sent by using emailOutputTo()
method of Laravel Scheduler?
Currently from
header is empty and I see in Gmail:
My code is:
$schedule->command('some:task')
->dailyAt('05:30')
->sendOutputTo(config('path.logs') . '/output.log')
->emailOutputTo('email@example.com');
I'm using built-in Laravel Mail provider with mailgun
driver.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire