mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing check of EHLO/HELO in EmailComponent. Fixes #794
This commit is contained in:
parent
ad8b70cec2
commit
d5ddd8ee5f
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ class EmailComponent extends Object{
|
||||||
$host = 'localhost';
|
$host = 'localhost';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->_smtpSend("EHLO {$host}", '250') || !$this->_smtpSend("HELO {$host}", '250')) {
|
if (!$this->_smtpSend("EHLO {$host}", '250') && !$this->_smtpSend("HELO {$host}", '250')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue