email not received in gmail django sendmail code example Example: Undefined variable: 'EmailMessage' IN DJANGO python -m smtpd -n -c DebuggingServer localhost:1025