Great tutorial! Thank you. Works perfectly in Symfony 6. But I'm new to Symfony and would like to start directly in 7, to avoid having to migrate too quickly. But I can't get it to work in Symfony 7. make:auth is deprecated and no longer works in 7 and when I replace it with make:security:form-login it doesn't work either. I've also been unable to upgrade the application to Symfony 7. Is it possible to get a version 7 of this tutorial or some advice on how to update it?
If the email sending isn't functioning as expected, it could be due to the presence of Symfony Messenger, which can create an email queue to prevent the response from waiting until the email is sent. You have two options to resolve this issue: Remove or comment out the following line in your config/packages/messenger.yaml file: Symfony\Component\Mailer\Messenger\SendEmailMessage: async Alternatively, open terminal and start the Messenger worker by running the following command: symfony console messenger:consume async -vv
I have installed via composer the module "symfony/mailer" and also symfonycasts/verify-email-bundle, but this is not working and i can see any email on my inboxes on mailtrap. can you help me please? knowing that I have correctly configured the DSN mailer of *.env as indicated
It can be that the email is stuck on the messanger queue system. if you have config/packages/messenger.yaml try commenting the: Symfony\Component\Mailer\Messenger\SendEmailMessage: async
@@pacmaybz Although my file is Symfony\Component\Mailer\Messenger\SendEmailMessage: async, it doesn't work, instead I run php bin/console messenger:consume async.
@@code-for-me Edit: problem solved - you need to change one line in reset_password.yaml - there is instruction on that file :) I have the same problem and I tried comment this line in my messanger.yaml but still not sending any emails :( Another thing - I dont have any data in my reset_password_request table. But it sends the email after registration but not when we want to reset the password.
Very nice tutorial! Thank you. Please make more Symfony tutorials
Thanks, will do!
Just appreciate the fact that he's coding while flying a freaking plane.
Great tutorial! Thank you. Works perfectly in Symfony 6.
But I'm new to Symfony and would like to start directly in 7, to avoid having to migrate too quickly. But I can't get it to work in Symfony 7. make:auth is deprecated and no longer works in 7 and when I replace it with make:security:form-login it doesn't work either. I've also been unable to upgrade the application to Symfony 7. Is it possible to get a version 7 of this tutorial or some advice on how to update it?
Good Job
Thank you!
If the email sending isn't functioning as expected, it could be due to the presence of Symfony Messenger, which can create an email queue to prevent the response from waiting until the email is sent. You have two options to resolve this issue:
Remove or comment out the following line in your config/packages/messenger.yaml file:
Symfony\Component\Mailer\Messenger\SendEmailMessage: async
Alternatively, open terminal and start the Messenger worker by running the following command:
symfony console messenger:consume async -vv
I always get an error on registration: Warning: Trying to access array offset on value of type null
sir can u create a tutorial on how to install symfony? and create simple app?
I have installed via composer the module "symfony/mailer" and also symfonycasts/verify-email-bundle, but this is not working and i can see any email on my inboxes on mailtrap. can you help me please?
knowing that I have correctly configured the DSN mailer of *.env as indicated
It can be that the email is stuck on the messanger queue system. if you have config/packages/messenger.yaml try commenting the:
Symfony\Component\Mailer\Messenger\SendEmailMessage: async
same problem here. Did you solve it?
@@pacmaybz Although my file is Symfony\Component\Mailer\Messenger\SendEmailMessage: async, it doesn't work, instead I run php bin/console messenger:consume async.
did you try the above "commenting the:
Symfony\Component\Mailer\Messenger\SendEmailMessage: async" ?
@@code-for-me
Edit: problem solved - you need to change one line in reset_password.yaml - there is instruction on that file :)
I have the same problem and I tried comment this line in my messanger.yaml but still not sending any emails :( Another thing - I dont have any data in my reset_password_request table. But it sends the email after registration but not when we want to reset the password.
i want a symphony tutor personal tutor who can teach me only