src/core/framework/core/3rdparty/ezcomponents/Mail/src/transports/smtp/smtp_transport.php
public function disconnect()
    {
        if ( $this->status != self::STATUS_NOT_CONNECTED )
        {
            $this->sendData( 'QUIT' );
            $replyCode = $this->getReplyCode( $error ) !== '221';
            fclose( $this->connection );
            $this->status = self::STATUS_NOT_CONNECTED;
            if ( $replyCode )
            {
                throw new ezcMailTransportSmtpException( "QUIT failed with error: $error." );
            }
        }
    }
public function disconnect()
    {
        if ( $this->status != self::STATUS_NOT_CONNECTED )
        {
            $this->sendData( 'QUIT' );
            $replyCode = $this->getReplyCode( $error ) !== '221';
            fclose( $this->connection );
            $this->status = self::STATUS_NOT_CONNECTED;
            if ( $replyCode )
            {
                throw new ezcMailTransportSmtpException( "QUIT failed with error: $error." );
            }
        }
    }
public function disconnect ( ) { if ( $ this -> status != self :: STATUS_NOT_CONNECTED ) { $ this -> sendData ( 'QUIT' ) ; $ replyCode = $ this -> getReplyCode ( $ error ) !== '221' ; fclose ( $ this -> connection ) ; $ this -> status = self :: STATUS_NOT_CONNECTED ; if ( $ replyCode ) { throw new ezcMailTransportSmtpException ( "QUIT failed with error: $error." ) ; } } }
Sends the QUIT command to the server and breaks the connection.

@throws ezcMailTransportSmtpException
if the QUIT command failed
Sends the QUIT command to the server and breaks the connection .