Mailgun Provider needs option for EU server (domain is different) #11923
Labels
bug
Something isn't working
invalid reproduction
The issue did not have a detectable valid reproduction URL
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Environment
System:
OS: macOS 14.6.1
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Memory: 842.31 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
pnpm: 9.1.1 - /usr/local/bin/pnpm
Browsers:
Brave Browser: 129.1.70.119
Safari: 17.6
npmPackages:
@auth/supabase-adapter: ^1.4.2 => 1.4.2
next: 14.2.6 => 14.2.6
next-auth: 5.0.0-beta.22 => 5.0.0-beta.22
react: ^18 => 18.3.1
Reproduction URL
can't
Describe the issue
In the
mailgun.ts
file, the default Mailgun link is used, but there's 2 (one for europe as well).We should make sure we can set it as a config
If we add a variable that can add .eu in front of .mailgun, we're good to go.
See line:
const res = await fetch(
https://api.eu.mailgun.net/v3/${domain}/messages`,`The text was updated successfully, but these errors were encountered: