@@ 130-132 (lines=3) @@ | ||
127 | 'secure' => $ssl_mode, |
|
128 | 'timeout' => 20, |
|
129 | ]; |
|
130 | if ($this->config->getSystemValue('app.mail.imaplog.enabled', false)) { |
|
131 | $params['debug'] = $this->config->getSystemValue('datadirectory') . '/horde_imap.log'; |
|
132 | } |
|
133 | if ($this->config->getSystemValue('app.mail.server-side-cache.enabled', false)) { |
|
134 | if ($this->memcacheFactory->isAvailable()) { |
|
135 | $params['cache'] = [ |
|
@@ 387-389 (lines=3) @@ | ||
384 | 'secure' => $this->convertSslMode($this->account->getOutboundSslMode()), |
|
385 | 'timeout' => 2 |
|
386 | ]; |
|
387 | if ($this->config->getSystemValue('app.mail.smtplog.enabled', false)) { |
|
388 | $params['debug'] = $this->config->getSystemValue('datadirectory') . '/horde_smtp.log'; |
|
389 | } |
|
390 | return new Horde_Mail_Transport_Smtphorde($params); |
|
391 | } |
|
392 |