i face this type of error in project 10 sending an email.
HOW CAN I SOLVE THIS ERROR.??
Can you add the below print statement just below the statement where you assign value to the data variable? ie after line number 3 inside the while loop
Run the code again and share the screenshots.
It is most probably because of incorrect Mailgun details inside your conf.py file. Please send the screenshot of your conf file after blurring some part of the configuration value.
Do let me know in case you need any other information.