Compare commits

...

2 commits

Author SHA1 Message Date
rxu
5d5d20f595
Merge 063f0aec45 into e34e1759c7 2025-06-14 11:45:50 +02:00
rxu
063f0aec45
[ticket/17521] Add dispatcher instance to the Symfony Mailer transport
PHPBB-17521
2025-06-04 14:33:04 +07:00

View file

@ -365,7 +365,7 @@ class email extends base
$this->set_dsn(); $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')) if ($this->config['smtp_delivery'] && method_exists($this->transport, 'getStream'))
{ {