SymfonyCasts / verify-email-bundle

Simple, stylish Email Verification for Symfony
https://symfonycasts.com
MIT License
408 stars 33 forks source link

The controller for URI "/register" is not callable: Environment variable not found: "MAILER_DSN". #138

Closed Ikari-421 closed 1 year ago

Ikari-421 commented 1 year ago

Hi, I am beginer with symfony and i had this error after install [verify-email-bundle] I am using symfony 6 and Php 8.2 Anyone can help me ? Thanks

konateallaman commented 1 year ago

In your .env file change the following, uncomment # MAILER_DSN=null://null and modify it:

> symfony/mailer

MAILER_DSN=your_mail_provider://your_email:your password@localhost

< symfony/mailer

bocharsky-bw commented 1 year ago

Thank you for this tip @konateallaman ! Really, it should help, you just need to configure your mailer that will send the actual verify email message.

I'm closing this now. Feel free to reopen if still have this error

LaDetox87 commented 1 year ago

salut c'est bryan