﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31618	SMTPServerDisconnected at /accounts/send_login_email Connection unexpectedly closed	Bakhtiar Dossul		"I am currently experiencing this struggle. I did the following code:

EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'xxxxxxxx@gmail.com'
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_PASSWORD')
EMAIL_USE_TLS = True

As for 'EMAIL_PASSWORD' - I already set the EMAIL_PASSWORD environment variable in the shell that’s running runserver. I kept ending up receiving the SMTP error below: smtplib.SMTPServerDisconnected: Connection unexpectedly closed when I tried to run my Django - sending email using gmail. Am I missing something? 
It looks like I cant get this figured out after many hours of figuring out. Your help would be so much appreciated!

Please kindly read this traceback error log: 

http://dpaste.com/00P91XY.txt'
"	Uncategorized	closed	Error reporting	3.0	Normal	invalid	Django, SMTP, GMAIL	Bakhtiar Dossul	Unreviewed	0	0	0	0	0	0
