diff options
author | Chris Jones <chris@sysadminchris.com> | 2016-09-10 21:16:15 +0300 |
---|---|---|
committer | Chris Jones <chris@sysadminchris.com> | 2016-09-10 21:16:15 +0300 |
commit | 780d372ab22a91d2eb3815db6c3b6e4253371170 (patch) | |
tree | e2583aabdbaea9bb19b46de5f554c707a2c1fa72 /README.md | |
parent | 07895858efe94ce3e23ab4e48c4d052961071fa8 (diff) |
Making IMAP and SMTP timeouts configurable
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |