View [mail] not found. code example
Example: View [mail] not found.
Route::get('/send-mail', function () {
$data = array('name'=>"Virat Gandhi");
return Mail::send([], $data, function($message) {
$message->to('[email protected]', 'Tutorials Point')->subject('Laravel Basic Testing Mail');
$message->from('[email protected]', 'Tutorials Point');
});
});