mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Added: Configurable timeouts for IMAP, SMTP and SIEVE (#843)
This commit is contained in:
parent
c6f098bd2d
commit
55e3bad890
7 changed files with 17 additions and 3 deletions
|
|
@ -6102,6 +6102,7 @@ class Actions
|
|||
$bUsePhpMail = $oAccount->Domain()->OutUsePhpMail();
|
||||
|
||||
$oSmtpClient = \MailSo\Smtp\SmtpClient::NewInstance()->SetLogger($this->Logger());
|
||||
$oSmtpClient->SetTimeOuts(10, (int) \RainLoop\Api::Config()->Get('labs', 'smtp_timeout', 60));
|
||||
|
||||
$bLoggined = $oAccount->OutConnectAndLoginHelper($this->Plugins(), $oSmtpClient, $this->Config(), $bUsePhpMail);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue