SimpleSoftwareIO\SMS\Drivers\EmailSMS::sendRaw PHP Method

sendRaw() protected method

Sends a SMS message via the mailer using the raw method.
protected sendRaw ( OutgoingMessage $message ) : Illuminate\Mail\Message
$message SimpleSoftwareIO\SMS\OutgoingMessage
return Illuminate\Mail\Message
    protected function sendRaw(OutgoingMessage $message)
    {
        $message = $this->mailer->raw($message->getView(), function ($email) use($message) {
            $this->generateMessage($email, $message);
        });
        return $message;
    }