Register email verification on production

I have Google SMTP in my app. Basic forms like contact works well. Problem is when user register into application, he catch notification "confirm email" but this emails are not send. When i run php artisan queue:work its send all verification mails for every users. How to repair / change this? Any idea?
3 Replies
LeandroFerreira
if you don't want to use queue, set QUEUE_CONNECTION=sync in .env file
Konaś
Konaś2w ago
Is it good practice ?
Dennis Koch
Dennis Koch2w ago
Depends on you server load. If you only have occasional mail it might be feasible. Otherwise a queue is a good option.
Want results from more Discord servers?
Add your server