Jyxo\Mail\Sender\Smtp::commandData PHP Method

commandData() private method

Sends the DATA command.
private commandData ( )
    private function commandData()
    {
        $this->writeData('DATA');
        $response = $this->readData();
        if ('354' !== substr($response, 0, 3)) {
            throw new SmtpException('DATA: ' . $response);
        }
    }