@@ 145-147 (lines=3) @@ | ||
142 | 'secure' => $ssl_mode, |
|
143 | 'timeout' => 20, |
|
144 | ]; |
|
145 | if ($this->config->getSystemValue('app.mail.imaplog.enabled', false)) { |
|
146 | $params['debug'] = $this->config->getSystemValue('datadirectory') . '/horde_imap.log'; |
|
147 | } |
|
148 | if ($this->config->getSystemValue('app.mail.server-side-cache.enabled', false)) { |
|
149 | if ($this->memcacheFactory->isAvailable()) { |
|
150 | $params['cache'] = [ |
|
@@ 394-396 (lines=3) @@ | ||
391 | 'secure' => $this->convertSslMode($this->account->getOutboundSslMode()), |
|
392 | 'timeout' => 2 |
|
393 | ]; |
|
394 | if ($this->config->getSystemValue('app.mail.smtplog.enabled', false)) { |
|
395 | $params['debug'] = $this->config->getSystemValue('datadirectory') . '/horde_smtp.log'; |
|
396 | } |
|
397 | return new Horde_Mail_Transport_Smtphorde($params); |
|
398 | } |
|
399 |