protected function generateMessage($email, $message)
    {
        foreach ($message->getToWithCarriers() as $number) {
            $email->to($this->buildEmail($number, $message));
        }

        if ($message->getAttachImages()) {
            foreach ($message->getAttachImages() as $image) {
                $email->attach($image);
            }
        }

        $email->from($message->getFrom());

        return $email;
    }
protected function generateMessage($email, $message)
    {
        foreach ($message->getToWithCarriers() as $number) {
            $email->to($this->buildEmail($number, $message));
        }

        if ($message->getAttachImages()) {
            foreach ($message->getAttachImages() as $image) {
                $email->attach($image);
            }
        }

        $email->from($message->getFrom());

        return $email;
    }
protected function generateMessage ( $ email , $ message ) { foreach ( $ message -> getToWithCarriers ( ) as $ number ) { $ email -> to ( $ this -> buildEmail ( $ number , $ message ) ) ; } if ( $ message -> getAttachImages ( ) ) { foreach ( $ message -> getAttachImages ( ) as $ image ) { $ email -> attach ( $ image ) ; } } $ email -> from ( $ message -> getFrom ( ) ) ; return $ email ; }
Generates the Laravel Message Object.

@param Illuminate\Mail\Message              $email
@param SimpleSoftwareIO\SMS\OutgoingMessage $message

@return Illuminate\Mail\Message
Generates the Laravel Message Object .