public function send(OutgoingMessage $message)
    {
        try {
            $message = $this->mailer->send(['text' => $message->getView()], $message->getData(), function ($email) use ($message) {
                $this->generateMessage($email, $message);
            });
        } catch (InvalidArgumentException $e) {
            $message = $this->sendRaw($message);
        }

        return $message;
    }
public function send(OutgoingMessage $message)
    {
        try {
            $message = $this->mailer->send(['text' => $message->getView()], $message->getData(), function ($email) use ($message) {
                $this->generateMessage($email, $message);
            });
        } catch (InvalidArgumentException $e) {
            $message = $this->sendRaw($message);
        }

        return $message;
    }
public function send ( OutgoingMessage $ message ) { try { $ message = $ this -> mailer -> send ( [ 'text' => $ message -> getView ( ) ] , $ message -> getData ( ) , function ( $ email ) use ( $ message ) { $ this -> generateMessage ( $ email , $ message ) ; } ) ; } catch ( InvalidArgumentException $ e ) { $ message = $ this -> sendRaw ( $ message ) ; } return $ message ; }
Sends a SMS message via the mailer.

@param SimpleSoftwareIO\SMS\OutgoingMessage $message

@return Illuminate\Mail\Message
Sends a SMS message via the mailer .