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
if you don't want to use queue, set QUEUE_CONNECTION=sync in .env file
Is it good practice ?
Depends on you server load. If you only have occasional mail it might be feasible. Otherwise a queue is a good option.