<response [401]>

why??

@shoeb.ahmed???
can you sort out the mistake??

@63spsingh Brother there is typing error in first line of your tempemail.py

please spot the error

‘eamil’ instead of ‘email’ :smile:

ohhh :laughing::laughing::laughing::laughing:

AFTER CORRECTION I HAVE NOT RECEIVED ANY KIND OF MAIL.

@63spsingh check your limiting values,if those are crossed then wait for sometime.It will surely work provided your code is correct.

but how much time? i am waiting for 20 minutes


on my mailgun dashboard displays 0 email sent ??

@divnoorsingh675

@63spsingh Are you sending the email to some other email ID other than the one you have used to sign up for mailgun? If yes, then those emails will not be sent as Mailgun prohibits trial accounts to send to other email IDs.

You can also print the response sent by Mailgun by adding the line print(res) after res = mailer.send_email(....)

@shoeb.ahmed
it shows the message
<RESPONSE [401]>
what is it?

@63spsingh A 401 response means that your request was unauthenticated. Mostly, you have made a mistake in the config for Mailgun. Please check the config and try again.

you mean email_conf.py file has some wrong details??
@shoeb.ahmed

@63spsingh Yes. You need to check your Mailgun config and correct it.