Description
Discussed in #42711
When using MAILER_DSN=gmail://password@default
, I suddently got the message
The "gmail" scheme is not supported.
It happen when bumping some debian/php/node version and updated some non-mailer-related libraries, I strictly don't know if it related.
After multiple try, It was related to the fact I added the symfony/google-mailer
to the require-dev instead of require section.
When adding it to the require section, it works fine.
But, when installing this mailer there is a message saying it should not be used in production ; and I'm using something else. So I don't need to install the symfony/google-mailer in production, only locally, on dev environment. So it makes sens to me to put it in the require-dev section.
Any reason that
composer remove `symfony/google-mailer`
composer require --dev `symfony/google-mailer`
break my application ? Can the mailers in the dev section be detected too ?