Run the code, fulfill the condition and send a screenshot here.
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
Show your terminal after running
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
I thought I was pretty clear here.
I am extremely sorry