Project 10 Sending an Email when Temperature Crosses Threshold

i face this type of error in project 10 sending an email.
HOW CAN I SOLVE THIS ERROR.??

@grinalpatel.18018010

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

print(data)

Run the code again and share the screenshots.

@yeshwant.naik,

Hi @grinalpatel.18018010,

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.

@rahul.singh1