diff --git a/src/SMTP.php b/src/SMTP.php index 1e38ba7da..8ef2efe56 100644 --- a/src/SMTP.php +++ b/src/SMTP.php @@ -1166,7 +1166,7 @@ protected function get_lines() $selW = null; while (is_resource($this->smtp_conn) && !feof($this->smtp_conn)) { //Must pass vars in here as params are by reference - if (!stream_select($selR, $selW, $selW, $this->Timelimit)) { + if (!stream_select($selR, $selW, $selW, $this->Timeout)) { $this->edebug( 'SMTP -> get_lines(): timed-out (' . $this->Timeout . ' sec)', self::DEBUG_LOWLEVEL