original_string: protected function authPlain()
      {
          $digest = base64_encode( "\0{$this->user}\0{$this->password}" );
          $this->sendData( "AUTH PLAIN {$digest}" );
          if ( $this->getReplyCode( $error ) !== '235' )
          {
              throw new ezcMailTransportSmtpException( 'SMTP server did not accept the provided username and password.' );
          }
  
          return true;
      }
code: protected function authPlain()
      {
          $digest = base64_encode( "\0{$this->user}\0{$this->password}" );
          $this->sendData( "AUTH PLAIN {$digest}" );
          if ( $this->getReplyCode( $error ) !== '235' )
          {
              throw new ezcMailTransportSmtpException( 'SMTP server did not accept the provided username and password.' );
          }
  
          return true;
      }
code_tokens: protected function authPlain ( ) { $ digest = base64_encode ( "\0{$this->user}\0{$this->password}" ) ; $ this -> sendData ( "AUTH PLAIN {$digest}" ) ; if ( $ this -> getReplyCode ( $ error ) !== '235' ) { throw new ezcMailTransportSmtpException ( 'SMTP server did not accept the provided username and password.' ) ; } return true ; }
docstring: Tries to login to the SMTP server with 'AUTH PLAIN' and returns true if
  successful.
  
  @throws ezcMailTransportSmtpException
  if the SMTP server returned an error
  @return bool
docstring_tokens: Tries to login to the SMTP server with AUTH PLAIN and returns true if successful .