|
@@ 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'] = [ |
|
@@ 388-390 (lines=3) @@
|
| 385 |
|
'secure' => $this->convertSslMode($this->account->getOutboundSslMode()), |
| 386 |
|
'timeout' => 2 |
| 387 |
|
]; |
| 388 |
|
if ($this->config->getSystemValue('app.mail.smtplog.enabled', false)) { |
| 389 |
|
$params['debug'] = $this->config->getSystemValue('datadirectory') . '/horde_smtp.log'; |
| 390 |
|
} |
| 391 |
|
return new Horde_Mail_Transport_Smtphorde($params); |
| 392 |
|
} |
| 393 |
|
|