We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8df3316 + bbe6c67 commit 3345a06Copy full SHA for 3345a06
src/CoreBundle/Decorator/MailTransportDecorator.php
@@ -26,6 +26,10 @@ public function fromStrings(#[SensitiveParameter] array $dsns): Transports
26
{
27
$dsn = $this->settingsManager->getSetting('mail.mailer_dsn');
28
29
+ if (empty($dsn)) {
30
+ $dsn = 'null://null';
31
+ }
32
+
33
return new Transports([
34
$this->inner->fromString($dsn),
35
]);
0 commit comments