Skip to content
Permalink
Browse files

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

  • Loading branch information...
jrbasso committed Jun 9, 2010
1 parent ad8b70c commit d5ddd8ee5f23109233387175f3c7dd6a0bd38631
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/controller/components/email.php
@@ -813,7 +813,7 @@ function _smtp() {
$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;
}

0 comments on commit d5ddd8e

Please sign in to comment.
You can’t perform that action at this time.