Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nmobregon opened this issue Sep 10, 2018 · 5 comments

Comments

@nmobregon
Copy link

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

@JoelSParker
Copy link

I have the same issue

@nmobregon
Copy link
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

@JoelSParker
Copy link

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!

@ghost
Copy link

ghost commented Oct 2, 2018

This, for me, is a critical issue. Annoying that none of the people who put this software up give even a clue. I use GoDaddy for hosting, and they do NOT ALLOW smtp mail outs to 3rd parties. So the API is the only way to make my code work. Would appreciate comments on how to make this work on Symfony 4, as others have commented and obviously given up for lack of replies

@fluchi
Copy link
Contributor

fluchi commented Oct 10, 2018

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants