I am trying to setup emails with my own website. Let's say the domain name is example.com
.
The name server in use is digital ocean and I also have a gmail account linked to the same (say using contact@example.com
).
While setting up things with mailgun, I used mg.example.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 contact@mg.example.com
.
However, trying to use the root domain (contact@example.com
) gives the following error:
AnymailRequestsAPIError: Sending a message to me@gmail.com from contact@example.com
ESP API response 404:
{
"message": "Domain not found: example.com"
}
How do I resolve this issue?