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