It is kind of mentioned in the docs. See: http://laravel.com/docs/5.0/mail
// You assign html or text as the key to do HTML or Text email
Mail::send(['html' => 'view'], $data, $callback);
Thanks for reply but when I used it and I got the same result as before.
$mail = Mail::send(['html' => 'emails.welcome'], array('body' => $inputs['body'], 'title'=>$inputs['subject']), function($message)
on displaying the the data on your email template just use {!! $data !!} ...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community