Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Google-mailer (and certainly other) are not detected if they are in the require-dev section #42724

Copy link
Copy link
Closed
@VincentLanglet

Description

@VincentLanglet
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.