symfony

Symfony registration form Error

The controller for URI “/register” is not callable: Environment variable not found: “MAILER_DSN”.

Go to .env file

MAILER_DSN=gmail://xxxxxxxx@gmail.com:mdp@localhost
MAILER_URL=gmail://xxxxxxxx@gmail.com:mdp@localhost

Leave a Reply

Your email address will not be published.

5 − 2 =