Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Jun 5, 2014
1 parent 42030ef commit a71a0d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions class.smtp.php
Expand Up @@ -123,7 +123,7 @@ class SMTP
* The socket for the server connection.
* @type resource
*/
protected $smtp_conn = null;
protected $smtp_conn;

/**
* Error message, if any, for the last call.
Expand Down Expand Up @@ -366,7 +366,6 @@ public function authenticate(
);
// send encoded username
return $this->sendCommand('Username', base64_encode($msg3), 235);
break;
case 'CRAM-MD5':
// Start authentication
if (!$this->sendCommand('AUTH CRAM-MD5', 'AUTH CRAM-MD5', 334)) {
Expand All @@ -380,7 +379,6 @@ public function authenticate(

// send encoded credentials
return $this->sendCommand('Username', base64_encode($response), 235);
break;
}
return true;
}
Expand Down

0 comments on commit a71a0d8

Please sign in to comment.