Send Email Notifications in Laravel php use App\Notifications\Newvisit; Route::get('/', function () { $user = App\User::first(); $user->notify(new Newvisit("A new user has visited on your application.")); return view('welcome'); });
Laravel Notify is a package that lets you add custom notifications to your project. A diverse range of notification designs are available, and many are coming soon.
From what I understand, Mailables are used to send only emails whereas Notifications can be used to send emails and sms.
I have an input field in my app for external email and i want to send a Notification on that email.
The problem is that this email can be outside of my app so i can't use $user->notify().
Is there a way to send a notification using only email address??
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With