Project 10:- Error:- Expecting value: line 1 column 1 (char 0)

response = mailer.send_email(“Alert”, "The Current temperature sensor value is " +str(sensor_value))
print ("Mailgun response is " + response.text)

replace the above line with yours

this will directly print the response without doing json.loads()

Your code is working fine without any error right? Tell me about that first.

Yes the code is working
Screenshot 2021-06-04 215449

Ok great ! Have you verified your recipient email on mailgun.com?
I want you to stick with me here, I will help you through it as quickly as possible.

Yes I have verified my email

Recipient Email. Not asking about mailgun account. Go through this post, and check if you have VERIFIED your recipient mail.

Yes I have verified the email like that

Great. Check your spam/junk folder of your email.

Spam is empty and no new email

Does your mailgun dashboard look something like this?
0/0 delivererd ?

yes it looks like that

Run the code, fulfill the condition and send a screenshot here.

This is what it looks when I run the code

What is printed below that?

Nothing, it keeps repeating

Your credentials are incorrect

Check your email_conf.py file. Correct that file.

MAILGUN_API_KEY = 'This is the private API key which you can find on your Mailgun Dashboard' 
SANDBOX_URL= 'You can find this on your Mailgun Dashboard' 
SENDER_EMAIL = 'This would be test@your SANDBOX_URL'
RECIPIENT_EMAIL = 'Enter your Email ID Here'
MAILGUN_API_KEY = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
SANDBOX_URL = 'sandboxXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.mailgun.org'
SENDER_EMAIL = 'test@'+'sandboxXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.mailgun.org'
RECIPIENT_EMAIL = 'XXXXXXXXXXXXXXXX@gmail.com'

I didnt add test@, my bad sorry

Run the program, And tell me if you have received your Email.

I’m still not getting email :sob: