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

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:

Show your terminal after running

Screenshot 2021-06-04 223305

Check your API key, it is case sensitive. Lowercase and uppercase letters has to be SAME.

Avoid typing the credentials manually. Copy-paste them always.

I copy pasted them and I checked they are correct

Send a screenshot of the email_conf.py. Hide last few digits of the API and sandbox URL

There you go. Your sandbox URL is incorrect.

1 Like

InkedScreenshot 2021-06-04 225130_LI

I thought I was pretty clear here.

I am extremely sorry