app\Mail build function mail from user code example
Example 1: laravel generate mailable
php artisan make:mail OrderShipped
Example 2: laravel mailable from
return (new Mail)
->to('[email protected]')
->from('[email protected]');
php artisan make:mail OrderShipped
return (new Mail)
->to('[email protected]')
->from('[email protected]');