original_string: protected function getData()
      {
          $data = '';
          $line   = '';
          $loops  = 0;
  
          if ( is_resource( $this->connection ) )
          {
              while ( ( strpos( $data, self::CRLF ) === false || (string) substr( $line, 3, 1 ) !== ' ' ) && $loops < 100 )
              {
                  $line = fgets( $this->connection, 512 );
                  $data .= $line;
                  $loops++;
              }
              return $data;
          }
          throw new ezcMailTransportSmtpException( 'Could not read from SMTP stream. It was probably terminated by the host.' );
      }
code: protected function getData()
      {
          $data = '';
          $line   = '';
          $loops  = 0;
  
          if ( is_resource( $this->connection ) )
          {
              while ( ( strpos( $data, self::CRLF ) === false || (string) substr( $line, 3, 1 ) !== ' ' ) && $loops < 100 )
              {
                  $line = fgets( $this->connection, 512 );
                  $data .= $line;
                  $loops++;
              }
              return $data;
          }
          throw new ezcMailTransportSmtpException( 'Could not read from SMTP stream. It was probably terminated by the host.' );
      }
code_tokens: protected function getData ( ) { $ data = '' ; $ line = '' ; $ loops = 0 ; if ( is_resource ( $ this -> connection ) ) { while ( ( strpos ( $ data , self :: CRLF ) === false || ( string ) substr ( $ line , 3 , 1 ) !== ' ' ) && $ loops < 100 ) { $ line = fgets ( $ this -> connection , 512 ) ; $ data .= $ line ; $ loops ++ ; } return $ data ; } throw new ezcMailTransportSmtpException ( 'Could not read from SMTP stream. It was probably terminated by the host.' ) ; }
docstring: Returns data received from the connection stream.
  
  @throws ezcMailTransportSmtpException
  if there is no valid connection
  @return string
docstring_tokens: Returns data received from the connection stream .