Skip to content

Inability to use mailgun #1132

@markuskjeldsen

Description

@markuskjeldsen

Describe the bug
When using a mail server (mail gun in my specific case) i get an error saying that symfony hasnt installed that specific mailserver plugin

[2025-12-05T10:27:39.419391+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Mailer\Exception\UnsupportedSchemeException: "Unable to send emails via "mailgun" as the bridge is not installed. Try running "composer require symfony/mailgun-mailer"." at Transport.php line 179 {"exception":"[object] (Symfony\Component\Mailer\Exception\UnsupportedSchemeException(code: 0): Unable to send emails via "mailgun" as the bridge is not installed. Try running "composer require symfony/mailgun-mailer". at /var/www/html/vendor/symfony/mailer/Transport.php:179)

  - MAILER_DSN=mailgun+api://APIKEY:postmaster@mail.domain.dk
  - EMAIL_SENDER_EMAIL= postmaster@mail.domain.dk
  - EMAIL_SENDER_NAME= Part-DB Support
  - ALLOW_EMAIL_PW_RESET=true

To Reproduce
Steps to reproduce the behavior:

  1. copy the docker compose file found at https://docs.part-db.de/installation/installation_docker.html
  2. edit the compose file to contain the above text
  3. run docker-compose up -d
  4. run docker exec --user=www-data partdb php bin/console doctrine:migrations:migrate
  5. try forget password feature
  6. see error

Expected behavior
i expect to recieve an email telling me to reset password my password

Server Side

  • Part-DB image-version: jbtronics/part-db1:master
    6e2484c8bdf9

Desktop (please complete the following information):

  • OS: ubuntu
  • Browser safari

Additional context
i dont think the script installs the package for the specific mail server choice, it would pro

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions