send email using django code example Example: Undefined variable: 'EmailMessage' IN DJANGO python -m smtpd -n -c DebuggingServer localhost:1025