Skip to content
Permalink
Browse files

Fix return value in SmtpTransport

  • Loading branch information...
dereuromark committed Dec 19, 2015
1 parent 0668cc6 commit 413685727867420d37c324ed6696e8196bea62bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Network/Email/SmtpTransport.php
@@ -369,7 +369,7 @@ protected function _smtpSend($data, $checkCode = '250') {
if ($code[2] === '-') {
continue;
}
return $code[1];
return;
}
throw new SocketException(__d('cake_dev', 'SMTP Error: %s', $response));
}

0 comments on commit 4136857

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.