﻿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
9575	email configuration using starttls	paigeadele	nobody	"K, sent this to the django-registration people and they rejected it, if you won't take it noone will. They insist it's in your court.


=== doesn't work ===

ACCOUNT_ACTIVATION_DAYS=7
EMAIL_HOST='smtp.gmail.com'
EMAIL_USE_TLS=1
EMAIL_PORT=465
EMAIL_HOST_USER='webdev@devel.ws'
EMAIL_HOST_PASSWORD='excluded'


=== works ===
ACCOUNT_ACTIVATION_DAYS=7
EMAIL_HOST='smtp.gmail.com'
EMAIL_USE_TLS=1
EMAIL_PORT=587
EMAIL_HOST_USER='webdev@devel.ws'
EMAIL_HOST_PASSWORD='excluded'


Problem: if you use port 465, it will literally hang indefinitely and you
won't know what the heck is going on, it doesn't even get to the point
where it shows the HTTP request after the registration form POSTS in the
output of manage.py runserver. 

The only reason I thought to try the alternate port number was because I
rememebered that when I first tried to register it tried to connect to the
mail server on localhost which I don't have (default settings) so I knew
that it wasn't the registration form because that actually gave me an
error. Google's documentation suggests that I can use 465 and 587 so I
figured eh, I'll give 587 a try and sure enough it worked. 

Here's the google smtp server documentation I'm not sure what the
difference is between port 465 and 587, compatibility maybe? 

http://mail.google.com/support/bin/answer.py?hl=en&answer=13287
"	Uncategorized	closed	Core (Mail)	1.0	Normal	invalid	starttls gmail		Unreviewed	0	0	0	0	0	0
