SMTP configuration django for different email account code example
Example: Undefined variable: 'EmailMessage' IN DJANGO
python -m smtpd -n -c DebuggingServer localhost:1025
python -m smtpd -n -c DebuggingServer localhost:1025