[ticket/17521] Add dispatcher instance to the Symfony Mailer transport

PHPBB-17521
This commit is contained in:
rxu 2025-06-04 14:33:04 +07:00
parent 2fce8aeb3e
commit 063f0aec45
No known key found for this signature in database
GPG key ID: 8117904FEDEFDD17

View file

@ -365,7 +365,7 @@ class email extends base
$this->set_dsn();
}
$this->transport = Transport::fromDsn($this->dsn);
$this->transport = Transport::fromDsn($this->dsn, $this->dispatcher);
if ($this->config['smtp_delivery'] && method_exists($this->transport, 'getStream'))
{