Change the timeout to 20 seconds

This commit is contained in:
FusionPBX
2022-10-21 11:43:53 -06:00
committed by GitHub
parent 4afc040efa
commit 7485757458

View File

@@ -484,7 +484,7 @@ if (!class_exists('email')) {
if (is_numeric($this->debug_level) && $this->debug_level > 0) {
$mail->SMTPDebug = $this->debug_level;
}
$mail->Timeout = 60; //set the timeout (seconds)
$mail->Timeout = 20; //set the timeout (seconds)
$mail->SMTPKeepAlive = true; //don't close the connection between messages
//add the email recipients