Sunday, May 21, 2017

Send notification to email

I work on a website project with the laravel framework and I want when I click on the button send a notification either send to the user's email

  $invite = Invite::create([
    'name' => $request->get('name'),
    'email' => $request->get('email'),
    'token' => str_random(60),
]);

$invite->notify(new UserInvite());

tnx to help me



via veki rook

Advertisement