This commit is contained in:
Simon L. 2026-04-03 03:24:38 +00:00 committed by GitHub
commit a48b514d35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -295,6 +295,8 @@ class Mailer implements IMailer {
$streamingOptions = $this->config->getSystemValue('mail_smtpstreamoptions', []);
if (is_array($streamingOptions) && !empty($streamingOptions)) {
$rootCertPath = $streamingOptions['ssl']['cafile'] ?? $this->config->getValue('default_certificates_bundle_path', null) ?? '';
$streamingOptions['ssl']['cafile'] = $rootCertPath;
/** @psalm-suppress InternalMethod */
$currentStreamingOptions = $stream->getStreamOptions();