Closed jousi592 closed 11 months ago
Ok so I figured out that I need to use the url
parameter in the mailgun.client
setup options and set it to "https://api.eu.mailgun.net"
cause I need to use the EU endpoint.
Would have honestly guessed that the API would recognize what endpoint to use automatically.
Either way, this isnt very well explained in the Docs anywhere, so please add it there 👍 @olexandr-mazepa
I solved this problem years ago and I am back here because they still didn't update their doc. Next time I change provider.
Same here... year by year. No clear info or example for european clients in docs. Loosing another 2h to figure it out.
@kopax @DeadcatDev Hello Hmm, kinda disagree with the statement that docs missing notes about EU configuration: Here is a mention in README: https://github.com/mailgun/mailgun.js?tab=readme-ov-file#setup-client Here is a mention in docs: https://documentation.mailgun.com/en/latest/quickstart-sending.html#send-via-api
After adding a custom domain, my server stopped sending the emails and started throwing:
My function setup is:
Am I adding something incorrectly? I am unsure as to how to format the domain correctly, cause thats pretty much the only thing I changed, except for the API key which I checked that is correct.
Regards, Josef