laravel-notification Questions

4

Solved

I use database notifications, in notification code I have method toDatabase: public function toDatabase($notifiable) { $user = \App\SomeUsers::where('id', $notifiable->id)->first(); retur...
Erosive asked 16/5, 2020 at 22:56

2

Solved

I'm using Laravel version 5.7.20 to build a custom markdown template. The template is copied from /resources/views/vendor/notifications/email.blade.php which is generated after issuing the command ...
Derwent asked 16/1, 2019 at 13:47

3

Solved

I am trying to make a notification system in my project. These are the steps i have done: 1-php artisan notifications:table 2-php artisan migrate 3-php artisan make:notification AddPost In ...
Errand asked 30/4, 2017 at 12:14

6

Solved

With the Laravel 5.3 Notification feature, I see that the notifications are sent to users like this: $user->notify(new InvoicePaid($invoice)); Where I believe $user is the notifiable entity. ...
Antibiotic asked 24/11, 2016 at 7:16

4

I have social netwrok website using laravel. My notification system works well when the notification is set for a specific user. But suppose that a user became moderator and I want to notify all us...
Damselfish asked 21/10, 2017 at 7:15

2

Solved

I try to send a simple slack notification on my channel to know when a customer buy something or register but i've got an error and i can't find any solution on the web. That's my notification Sla...
Alister asked 18/10, 2019 at 12:39

7

Solved

This is the problem: The name associated with the email shows up as "Example"
Jez asked 1/2, 2017 at 5:13

2

Solved

I am sending a notification using Laravel and am having trouble figuring out how to send a second action. Here is my code for the toMail method: public function toMail($notifiable) { return (new...
Lundt asked 16/1, 2018 at 20:53

1

Solved

I'm saving every email I send to an entity into the database by creating a function storeEmail and make an insert of MailMessage class into EmailMessage model. Everything works fine, and the main g...
Bracketing asked 27/1, 2020 at 15:42

4

Solved

I've changed my e-mail configuration in the .env file but when I'm trying to send a mail, it's using my old configuration. I've tried some commands: php artisan clear-compiled, php artisan cach...
Krell asked 20/1, 2017 at 9:12

1

Solved

What is the reason uuid is the id in the notification system?
Frequently asked 25/2, 2018 at 3:46

1

Solved

Laravel 5.5 Controller public function sendBookingSms(){ $checkState = session()->get('checkState'); $staffs = Staff::whereIn('staffId',$checkState)->get(); foreach ($staffs as $staff) {...
Barnardo asked 24/3, 2018 at 14:56

3

Solved

I am trying to add the user's first name in the notification emails. At the moment, Laravel notification emails starts like: Hello, And I want to change it to: Hello Donald, Right now, I have...

1

Solved

I was saved my notification into database like this: public function toDatabase($notifiable) { return [ 'from' => $this->message->name, 'name'=> $this->message->email, 'subj...
Flanch asked 5/12, 2017 at 12:5

2

Solved

I am a little confused about whether to use Laravel's Notification or Mailable class. From what I understand, Mailables are used to send only emails whereas Notifications can be used to send emails...
Melmela asked 18/11, 2016 at 18:38

1

Solved

I would like to customize this notification email message: but i can't find where to change the parts marked with red color on my screenshot. The "Regards" and the message at the bottom....
Eddo asked 11/11, 2016 at 9:53
1

© 2022 - 2024 — McMap. All rights reserved.