Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Jones <chris@sysadminchris.com>2016-09-10 21:16:15 +0300
committerChris Jones <chris@sysadminchris.com>2016-09-10 21:16:15 +0300
commit780d372ab22a91d2eb3815db6c3b6e4253371170 (patch)
treee2583aabdbaea9bb19b46de5f554c707a2c1fa72 /README.md
parent07895858efe94ce3e23ab4e48c4d052961071fa8 (diff)
Making IMAP and SMTP timeouts configurable
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8b9a28a4d..d7e642dc9 100644
--- a/README.md
+++ b/README.md
@@ -110,6 +110,17 @@ You can enable IMAP and SMTP backend logging. A horde_imap.log for IMAP and hord
'app.mail.smtplog.enabled' => true
```
+### Timeouts:
+Depending on your mail host, it may be necessary to increase your IMAP and/or SMTP timeout settings. Currently IMAP defaults to 20 seconds and SMTP defaults to 2 seconds. They can be changed with.
+
+#### IMAP timeout:
+```php
+'app.mail.imap.timeout' => 20
+```
+#### SMTP timeout:
+```php
+'app.mail.smtp.timeout' => 2
+```
### Use php-mail for mail sending
You can use the php mail function to send mails. This is needed for some webhosters (1&1 (1und1)):
```php