Swift_Transport_AbstractSmtpTransport::_sendTo PHP Method

_sendTo() private method

Send a message to the given To: recipients
private _sendTo ( Swift_Mime_Message $message, $reversePath, array $to, array &$failedRecipients )
$message Swift_Mime_Message
$to array
$failedRecipients array
    private function _sendTo(Swift_Mime_Message $message, $reversePath, array $to, array &$failedRecipients)
    {
        if (empty($to)) {
            return 0;
        }
        return $this->_doMailTransaction($message, $reversePath, array_keys($to), $failedRecipients);
    }