@@ 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'] = [ |
|
@@ 379-381 (lines=3) @@ | ||
376 | 'secure' => $this->convertSslMode($this->account->getOutboundSslMode()), |
|
377 | 'timeout' => 2 |
|
378 | ]; |
|
379 | if ($this->config->getSystemValue('app.mail.smtplog.enabled', false)) { |
|
380 | $params['debug'] = $this->config->getSystemValue('datadirectory') . '/horde_smtp.log'; |
|
381 | } |
|
382 | return new Horde_Mail_Transport_Smtphorde($params); |
|
383 | } |
|
384 |