hi sir @rahul.singh1
i tried by removing the following code.
Remove the the below line from your code
response_text = json.loads(response.text)
print("Response received from Mailgun is: " + str(response_text['message']))
and directly print the response without doing json.loads()
print ("Mailgun response is " + response.text)
i tried by using above code , even though I'm not receiving mail
sharing the output picture here
here is my conf screenshot
Can you share the screenshot of your code and screenshot of the output ?
Hello sir, @rahul.singh1 the screenshots are shared below
help me to solve this issue.
The SANDBOX_URL that you have entered is wrong. It starts from the word ‘sandbox’ and ends with ‘.mailgun.org’ .It is the value the value after ‘domains/’ that you have entered for SANDBOX_URL.
The SENDER_EMAIL which you have entered is also wrong
You can refer ’ Introduction to Mailgun’ and ’ Project 10: Sending an Email when Temperature Crosses Threshold’ sections of the course curriculum for furthur details and correct your details.
IMP : remove this picture and add a picture in which some of the details of your email configuration
is blurred since these are to be kept confidential and should not be made public as your account
can be tampered with these details.