laravel send a mail code example
Example 1: laravel mail create
php artisan make:mail OrderShipped --markdown=emails.orders.shipped
Example 2: laravel mail to specific email with name
$to = [
[
'email' => $email,
'name' => $name,
]
];
\Mail::to($to)->send(new \App\Mail\Hello);