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.
1 parent 594d220 commit 4e22e95Copy full SHA for 4e22e95
lib/private/Mail/Mailer.php
@@ -293,6 +293,8 @@ protected function getSmtpInstance(): EsmtpTransport {
293
294
$streamingOptions = $this->config->getSystemValue('mail_smtpstreamoptions', []);
295
if (is_array($streamingOptions) && !empty($streamingOptions)) {
296
+ $rootCertPath = $streamingOptions['ssl']['cafile'] ?? $this->config->getValue('default_certificates_bundle_path', null) ?? '';
297
+ $streamingOptions['ssl']['cafile'] = $rootCertPath;
298
/** @psalm-suppress InternalMethod */
299
$currentStreamingOptions = $stream->getStreamOptions();
300
0 commit comments