send html email laravel

Solutions on MaxInterview for send html email laravel by the best coders in the world

showing results for - "send html email laravel"
Dario
29 Mar 2020
1// $data => array of information passed to view
2Mail::send('email_view', $data, function ($m) use ($user) {
3                $m->from("example@gmail.com", config('app.name', 'APP Name'));
4                $m->to($user->email, $user->email)->subject('Email Subject!');
5            });