-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email is not sent #16
Comments
True. Vote +1 |
Any updates on this issue? I seem to be having this issue also, this was working OK on PHP7.4 and Laravel 7. But I updated to PHP8.1 with Laravel 8 and now the package seems not to be sending the new email verifications. |
For anyone that is having this issue I have found the cause (and potentially the solution). @alex1897 @HayderThamer92 The mailable class is implementing ShouldQueue which means the mail is being queued in the jobs table (check your database table jobs). Which means the email will only send once the job has been dispatched - try running php artisan queue:work Let me know if this helps |
To extend @jimsawinner answer. The mail is added to the queue ("jobs" table in db) and it's waiting for a worker to dispatch it. On local dev, you can use |
I implemented the package on my local machine with sail. Everything seemed fine and I was able to receive the mails after changing the email address.
Once I uploaded it on my server, nothing happened after the email is changed. In the pending_user_emails table the entry with the new email is adde, but the mail is missing. No error message and nothing in the log.
First I thought mailing is not working at all, but the laravel Breeze emails are being sent out.
On my server I have PHP 8.1.5 and Laravel is on Version 9.2.
And idea what I should/can check to find the issue?
The text was updated successfully, but these errors were encountered: