email configuration using starttls
|Reported by:||paigeadele||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.
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?