Hi,
I would like to use django-anymail to send mail so I created a free account on mailgun and then I set the API key on my django application, which I host on a free PythonAnywhere account.
I thought that it was possible to make it work without verified the domain, but I'm having the following error in the logs when I tried the send_mail function :
anymail.exceptions.AnymailRequestsAPIError: Sending a message to test@mail.com from Ben & Mae <noreply@benetmae.pythonanywhere.com>
Mailgun API response 400 (BAD REQUEST):
{
"message": "The domain is unverified and requires DNS configuration. Log in to your control panel to view required DNS records."
}
So I tried to add the domain benetemae.pythonanywhere.com on mailgun, but now I have to verified it by adding DNS records, which doesn't seem to be possible ?
If you have any recommendations for me on how to do it, I would be glad to hear it !
Benjamin