diff --git a/src/Services/Mail/MailerFactory.php b/src/Services/Mail/MailerFactory.php index 61b099d..12c7713 100644 --- a/src/Services/Mail/MailerFactory.php +++ b/src/Services/Mail/MailerFactory.php @@ -28,7 +28,7 @@ public function __construct( public function buildMailer(): MailerInterface { $mailDsn = $this->configurationService['[mail][dsn]']; - $transport = Transport::fromDsn($mailDsn); + $transport = Transport::fromDsn($mailDsn, $this->eventDispatcher); return new Mailer($transport, null, $this->eventDispatcher); }