Level 1
ugh.... here's the solution
Mail::send(['html' => 'emails.generic'], $data, function($message) use ($subject, $email, $name){
$message->to($email, $name)
->subject("$subject");
$message->from("[email protected]",'Toy Story');
$message->sender("[email protected]",'Toy Story');
});
there's no documentation (that I could find) stating you have to add ->sender to remove the "on behalf of".
3 likes