mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17521] Add dispatcher instance to the Symfony Mailer transport
PHPBB-17521
This commit is contained in:
parent
2fce8aeb3e
commit
063f0aec45
1 changed files with 1 additions and 1 deletions
|
@ -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'))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue