Skip to content

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

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy