swiftmailer-mailgun-bundle
swiftmailer-mailgun-bundle copied to clipboard
The child node "key" at path "cspoo_swiftmailer_mailgun" must be configured.
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
I have the same issue
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
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!
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