protected function cmdData()
    {
        if ( $this->status === self::STATUS_AUTHENTICATED )
        {
            $this->sendData( 'DATA' );
            if ( $this->getReplyCode( $error ) !== '354' )
            {
                throw new ezcMailTransportSmtpException( "DATA failed with error: $error." );
            }
        }
    }
protected function cmdData()
    {
        if ( $this->status === self::STATUS_AUTHENTICATED )
        {
            $this->sendData( 'DATA' );
            if ( $this->getReplyCode( $error ) !== '354' )
            {
                throw new ezcMailTransportSmtpException( "DATA failed with error: $error." );
            }
        }
    }
protected function cmdData ( ) { if ( $ this -> status === self :: STATUS_AUTHENTICATED ) { $ this -> sendData ( 'DATA' ) ; if ( $ this -> getReplyCode ( $ error ) !== '354' ) { throw new ezcMailTransportSmtpException ( "DATA failed with error: $error." ) ; } } }
Sends the DATA command to the SMTP server.

@throws ezcMailTransportSmtpException
if there is no valid connection
or if the DATA command failed
Sends the DATA command to the SMTP server .