Prepare a sending domain and API credentials in Mailgun. Follow Mailgun's setup documentation for its domain and DNS requirements.
https://, such as api.mailgun.net.A domain in Mailgun's EU region needs the matching EU endpoint. If testing fails, check that the key can send from the selected domain and that domain verification is complete.
See Email setup for notification controls and delivery history.