Fixing check of EHLO/HELO in EmailComponent. Fixes #794

This commit is contained in:
Juan Basso 2010-06-09 19:22:06 -03:00
parent ad8b70cec2
commit d5ddd8ee5f

View file

@ -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;
} }