Fix checking for wrong response code during a CRAM-MD5 AUTH transaction, see #46. Thanks to @Hywan
This commit is contained in:
parent
548a376f4b
commit
fbafeb47c3
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
* Add Ukranian translation from @Krezalis
|
||||
* Support for do_verp
|
||||
* Fix bug in CRAM-MD5 AUTH
|
||||
|
||||
## Version 5.2.6 (April 11th 2013)
|
||||
* Reflect move to PHPMailer GitHub organisation at https://github.com/PHPMailer/PHPMailer
|
||||
|
|
|
|||
|
|
@ -381,7 +381,6 @@ class SMTP {
|
|||
$rply = $this->get_lines();
|
||||
$code = substr($rply, 0, 3);
|
||||
|
||||
|
||||
if($code != 334) {
|
||||
$this->error =
|
||||
array('error' => 'AUTH not accepted from server',
|
||||
|
|
@ -444,7 +443,7 @@ class SMTP {
|
|||
$rply = $this->get_lines();
|
||||
$code = substr($rply, 0, 3);
|
||||
|
||||
if($code != 334) {
|
||||
if($code != 235) {
|
||||
$this->error =
|
||||
array('error' => 'Credentials not accepted from server',
|
||||
'smtp_code' => $code,
|
||||
|
|
|
|||
Loading…
Reference in New Issue