Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

send html email laravel

// $data => array of information passed to view
Mail::send('email_view', $data, function ($m) use ($user) {
                $m->from("example@gmail.com", config('app.name', 'APP Name'));
                $m->to($user->email, $user->name)->subject('Email Subject!');
            });
 
PREVIOUS NEXT
Tagged: #send #html #email #laravel
ADD COMMENT
Topic
Name
4+5 =