Mailgun emailing error

I am working on the Mailgun assignment and have successfully run the code and getting the results but in the second half of the code execution where it is expected to send a mail to the recipient I am encountering the exception error but I haven’t received any major error as such. Is this normal under this execution as this is a dummy mail?

Hi @SiddharthBhandarkar,

Please share a screenshot of the error you are facing. This will help us understand your issue better.

@vinayak.joshi

Hi @SiddharthBhandarkar,

Please check if this thread helps Mailgun Error-Expecting value:line 1 column 1 (char 0)

Also share the screenshot of your code.

@rahul.singh1


I referred the thread but it didn’t work

Hi @SiddharthBhandarkar,

Can you send me the screenshot of your email_conf.py file after hiding some of the text in conf file ?

Sir I have replied you with the screenshot of configuration file please help me in solving the issue. Thankyou

Hi @SiddharthBhandarkar

It seems that your sandbox url and sender email is incorrect.

Sandbox url will be similar to this. Sandbox url will not start with https://

And sender email will be

test + @sandbox url

Thankyou for the guidance. I made the same error and now after correction I’m getting the alert

1 Like