I am trying to setup emails with my own website. Let's say the domain name is abc.com
.
The nameserver in use is digital ocean and I also have a gmail account linked to the same (say using [email protected]
).
While setting up things with mailgun, I used mg.abc.com
(as they said it would also let me email using the root domain). The verification step is done and I can send email using [email protected]
.
However, trying to use the root domain ([email protected]
) gives the following error:
AnymailRequestsAPIError: Sending a message to [email protected] from [email protected] ESP API response 404: { "message": "Domain not found: abc.com" }
How do I resolve this issue?
A verified domain is required to send any emails at Mailgun, and the verification process is critical to protecting our infrastructure and your domain's sending reputation.
Gmail + Mailgun IntegrationsZapier lets you send info between Gmail and Mailgun automatically—no code required. Triggers when you receive a new attachment (triggers once per attachment). automatically do this!
I got the same error when I copy-pasted the curl
example from Mailgun help page.
My domain was set to EU region, and I had to set the api domain to api.eu.mailgun.net
instead of api.mailgun.net
.
Boom! Working! :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With