I have a work management in laravel and filament I want to send mail if new customer registered by admin or by user so how do that I found some tutorial for user side but for admin side I'm not sure how to do that help me to resolve this
Find a method to send mail if a user created by admin in filament dashboard
The document said
The one that can help you send email or any other notifications is
afterCreate()
.Try creating a new Event using:
Then create a new Listener using:
Attach the listener to the event in
EventServiceProvider.php
.After that call the event in
afterCreate()
method.