Home > other >  Symfony 6 can't send email with mailer (without configured database)
Symfony 6 can't send email with mailer (without configured database)

Time:03-25

Hello guys i just started to building web using Symfony6 - im trying to send email using mailer however it somehow require database to be configured ( some special table created for messages...).Maybe there is some workaround so it would work without DB.. - thing is in Symfony 5 there was no problem with that.

CodePudding user response:

If you comment the default configuration in messenger.yaml #Symfony\Component\Mailer\Messenger\SendEmailMessage: async or set it to null your email should be sent immediately.

  • Related