F
Filament5mo ago
Mike.

Send Email

I'm just learning PHP and I'm trying to experiment with Filament, then I want to try creating an action to send an email, the email configuration is all correct but now I'm feeling confused in the action code, can you help me solve this problem? The problem I'm experiencing is, why doesn't this action run and doesn't produce any errors or anything, even when I do DD there's no response whatsoever, please help.
No description
8 Replies
BKF Dev
BKF Dev5mo ago
Do you receive the email ?
Mike.
Mike.OP5mo ago
Not yet
BKF Dev
BKF Dev5mo ago
Update : Action::make('send_email')->...
Mike.
Mike.OP5mo ago
then what's next?
Julien B. (aka yebor974)
Maybe your mail class SendInvoice implements ShouldQueue and you need to start your jobs queue (horizon or other) ?
Mike.
Mike.OP5mo ago
I don't use queue and even though I use queue I have done a sync so the queue will run automatically
Julien B. (aka yebor974)
Need more information to help. Do you have the confirmation modal on click ? What is the data array ? You have only these injections on table actions : https://filamentphp.com/docs/3.x/tables/actions#table-action-utility-injection The table is about invoices list ?
Mike.
Mike.OP5mo ago
I already have it
No description
Want results from more Discord servers?
Add your server