I'm sending an email through Mail
of laravel 5
$data = Input::all();
Mail::send('mails.sendteste', $data, function ($message) {
$message->from('[email protected]', 'Sistema');
$message->subject('Teste');
$message->to('[email protected]');
});
I'm using the code above that loads a view that contains CSS scripts but when the email arrives for me, it does not read the css and the email gets all unformatted ..
Is there any way to set up Headers as done in pure php?
Note: I tried using the Laravel Mail Css Inline but it had no effect whatsoever.