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(
|
$mailer = new \Illuminate\Mail\Mailer(
|
||||||
$mailAccount->name,
|
$mailAccount->name,
|
||||||
app('view'),
|
app('view'),
|
||||||
new \Symfony\Component\Mailer\Mailer($mailAccount->buildTransport()),
|
$mailAccount->buildTransport(),
|
||||||
app('events')
|
app('events')
|
||||||
);
|
);
|
||||||
$mailer->raw(
|
$mailer->raw(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user