Hallo…I trying to set up a sample app with veil. Sending email with mailgun. I do get this error:
Request: POST /veil/users
** (exit) an exception was raised:
** (ArgumentError) expected [:domain] to be set, got: [adapter: Swoosh.Adapters.Mailgun, api_key: “key-XXXXXX”, otp_app: :veil]
That’s what I thought too. It is not marked in the veil docu…
When I add my domain, no success …
The mailgun side is fine…and verified…
Thanks so far, may be check some other solution…
I added the domain…
api_key: “my-api-key”,
domain: “avengers.com”
But I get tons of errors…
There is also a: # lib/sample/mailer.ex in the swoosh doc
But I think this is handled by veil…?
May be an idea to try swoosh first.
Thanks so far. As a beginner all is complicated