lib/classes/Swift/Transport/AbstractSmtpTransport.php
protected function streamMessage(Swift_Mime_SimpleMessage $message)
    {
        $this->buffer->setWriteTranslations(["\r\n." => "\r\n.."]);
        try {
            $message->toByteStream($this->buffer);
            $this->buffer->flushBuffers();
        } catch (Swift_TransportException $e) {
            $this->throwException($e);
        }
        $this->buffer->setWriteTranslations([]);
        $this->executeCommand("\r\n.\r\n", [250]);
    }
protected function streamMessage(Swift_Mime_SimpleMessage $message)
    {
        $this->buffer->setWriteTranslations(["\r\n." => "\r\n.."]);
        try {
            $message->toByteStream($this->buffer);
            $this->buffer->flushBuffers();
        } catch (Swift_TransportException $e) {
            $this->throwException($e);
        }
        $this->buffer->setWriteTranslations([]);
        $this->executeCommand("\r\n.\r\n", [250]);
    }
protected function streamMessage ( Swift_Mime_SimpleMessage $ message ) { $ this -> buffer -> setWriteTranslations ( [ "\r\n." => "\r\n.." ] ) ; try { $ message -> toByteStream ( $ this -> buffer ) ; $ this -> buffer -> flushBuffers ( ) ; } catch ( Swift_TransportException $ e ) { $ this -> throwException ( $ e ) ; } $ this -> buffer -> setWriteTranslations ( [ ] ) ; $ this -> executeCommand ( "\r\n.\r\n" , [ 250 ] ) ; }
Stream the contents of the message over the buffer
Stream the contents of the message over the buffer