mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add SMTP Timeout and SMTPKeepAlive
This commit is contained in:
@@ -484,6 +484,8 @@ 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->SMTPKeepAlive = true; //don't close the connection between messages
|
||||
|
||||
//add the email recipients
|
||||
$address_found = false;
|
||||
|
||||
Reference in New Issue
Block a user