📅  最后修改于: 2022-03-11 14:56:06.287000             🧑  作者: Mango
Route::get('/send-mail', function () {
$data = array('name'=>"Virat Gandhi");
return Mail::send([], $data, function($message) {
$message->to('fivoge6052@troikos.com', 'Tutorials Point')->subject('Laravel Basic Testing Mail');
$message->from('abcd@troikos.com', 'Tutorials Point');
});
});