8000 Google-mailer (and certainly other) are not detected if they are in the require-dev section · Issue #42724 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Google-mailer (and certainly other) are not detected if they are in the require-dev section #42724
Closed
@VincentLanglet

Description

@VincentLanglet

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 ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0