どうやらconfの中の、mail.phpを編集するようだ。
'host' => env('MAIL_HOST', 'smtp.mailgun.org'), 'from' => [ 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 'name' => env('MAIL_FROM_NAME', 'Example'), ], 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'),
routs/web.php
Route::get('/', function(){ $data = []; Mail::send('emails.welcome', $data, function($message){ $message->to('hogehoge@gmail.com')->subject('title') }); });
ふーん、こんな感じか。。