Mailgun forbidden error

I am getting this error even i have changed my code but still it’s not running

Check the file.This kind of error can occur if there is an issue with the entered api.

HI @shivamdixit1712,

I think your SENDER_EMAIL is incorrect. How is it printing two @ in 3rd line.

SENDER_EMAIL = 'This would be test@your SANDBOX_URL'

Remove the @postmaster from after test.

Sir i am still getting same error

Shall i send you the screenshot of my code in email to you


Have you checked all your details form the trainings ? First recheck the details from Mailgun dashboard and from trainings. I am sure that there is mistake in the below variables.

SANDBOX_URL= 'You can find this on your Mailgun Dashboard' 
SENDER_EMAIL = 'This would be test@your SANDBOX_URL'

then send me the screenshot of your conf file.

This will give u some idea…Else there might be an error in the main py code