Closed Jubeki closed 4 years ago
Jubeki,
Where did you get 'SesMailer' on the SesMailer constructor call below. That would set the package to use fixed view and cause this instantiation to fail as constructor only accepts 4 parameters. I've taken constructor parameter out.
$mailer = new SesMailer(
'SesMailer',
$app['view'],
$app['swift.mailer'],
app('mailer')->getSwiftMailer(),
$app['events']
);
In Laravel 7.x is "swift.mailer" not a container anymore. See here: https://laravel.com/docs/7.x/upgrade#markdown-mail-template-updates
Therefore this change is required for it to be working correctly.