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

commandRcptTo() private method

Sends the RCPT TO command.
private commandRcptTo ( string $recipient )
$recipient string
    private function commandRcptTo(string $recipient)
    {
        $this->writeData('RCPT TO: <' . $recipient . '>');
        $response = $this->readData();
        if ('250' !== substr($response, 0, 3)) {
            throw new SmtpException('RCPT TO: ' . $response);
        }
    }