Skip to content

Commit

Permalink
Fixed wrong attribute name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed Apr 13, 2011
1 parent 1814168 commit 5740d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/email/smtp_transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function _smtpSend($data, $checkCode = '250') {
while ($checkCode !== false) {
$response = '';
$startTime = time();
while (substr($response, -2) !== "\r\n" && ((time() - $startTime) < $this->smtpOptions['timeout'])) {
while (substr($response, -2) !== "\r\n" && ((time() - $startTime) < $this->_config['timeout'])) {
$response .= $this->_socket->read();
}
if (substr($response, -2) !== "\r\n") {
Expand Down

0 comments on commit 5740d12

Please sign in to comment.