fix: pass transport directly to Mailer constructor, not wrapped in Symfony Mailer

This commit is contained in:
ghassan committed 2026-05-26 16:32:28 +03:00
1 parent c6a12163bb
commit 6955d7b422
1 file changed
+1 -1
@@ -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(