src/core/framework/core/3rdparty/ezcomponents/Mail/src/transports/smtp/smtp_transport.php
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;
    }
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;
    }
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 ; }
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
Tries to login to the SMTP server with AUTH PLAIN and returns true if successful .