Swift_Transport_AbstractSmtpTransport::_getFullResponse PHP Method

_getFullResponse() protected method

Get an entire multi-line response using its sequence number
protected _getFullResponse ( $seq )
    protected function _getFullResponse($seq)
    {
        $response = '';
        try {
            do {
                $line = $this->_buffer->readLine($seq);
                $response .= $line;
            } while (null !== $line && false !== $line && ' ' != $line[3]);
        } catch (Swift_TransportException $e) {
            $this->_throwException($e);
        } catch (Swift_IoException $e) {
            $this->_throwException(new Swift_TransportException($e->getMessage()));
        }
        return $response;
    }