Skip to content

The child node "key" at path "cspoo_swiftmailer_mailgun" must be configured. #71

Open

Description

@nmobregon

Hi! I installed everything and Im getting this error whenever I want to run a command.

I'm running Symfony 4 and this version of the lib
"name": "cspoo/swiftmailer-mailgun-bundle",
"version": "1.1.0",

$ php bin/console doctrine:schema:update

In ArrayNode.php line 230:

The child node "key" at path "cspoo_swiftmailer_mailgun" must be configured.

I can't configure as it shows in the docs because it changes for Symfony v4, so I tried putting this conf in config/services.yaml, config/packages/mailgun.yaml, I even created a parameters.yaml but with no success.

    cspoo_swiftmailer_mailgun:
        key: "key-f132131313131"
        domain: "sandbox700asdasdasdadasdasdasdadada.mailgun.org"
    swiftmailer:
        transport: "mailgun"

HELP PLEASE!!
Thanks in advance

Activity

  1. JoelSParker commented on Sep 11, 2018

    @JoelSParker

    I have the same issue

  2. nmobregon commented on Sep 12, 2018

    @nmobregon
    Author

    Meanwhile I have opted to use the mailgun smtp server directly, without the need to use this library.

    smtp://smtp.mailgun.org:587?encryption=tls&username=USERNAME&password=PASSWORD

  3. JoelSParker commented on Sep 12, 2018

    @JoelSParker

    Meanwhile I have opted to use the mailgun smtp server directly, without the need to use this library.

    smtp://smtp.mailgun.org:587?encryption=tls&username=USERNAME&password=PASSWORD

    Awesome! I was trying to do it with the URL directly but I couldn't figure out the URL. Thank you!

  4. fluchi commented on Oct 10, 2018

    @fluchi
    Contributor

    I've put setting right here.

    If I didn't miss anything, it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions