fix: pass transport directly to Mailer constructor, not wrapped in Symfony Mailer
This commit is contained in:
parent
c6a12163bb
commit
6955d7b422
@ -71,7 +71,7 @@ class MailAccountController extends Controller
|
||||
$mailer = new \Illuminate\Mail\Mailer(
|
||||
$mailAccount->name,
|
||||
app('view'),
|
||||
new \Symfony\Component\Mailer\Mailer($mailAccount->buildTransport()),
|
||||
$mailAccount->buildTransport(),
|
||||
app('events')
|
||||
);
|
||||
$mailer->raw(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user