mardi 12 octobre 2021

send notification without using User model

How can I send a notification without having to use the user model?

   public function SendSeguimiento(Request $request){


   $toUser = Clientes::find(2);


    

   Notification::send($toUser, new Seguimiento($toUser));
    // $pageName = 'widgets';
    return redirect()->route("clientes");
}

i try to send a notification to the email of the table 'Clientes' in row 2

database: enter image description here

Error:

enter image description here

help pls



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3AFf6QO
via IFTTT

Aucun commentaire:

Enregistrer un commentaire