#9575: email configuration using starttls
------------------------------+---------------------------------------------
 Reporter:  paigeadele        |       Owner:  nobody    
   Status:  new               |   Milestone:  post-1.0  
Component:  django.core.mail  |     Version:  1.0       
 Keywords:  starttls gmail    |       Stage:  Unreviewed
Has_patch:  0                 |  
------------------------------+---------------------------------------------
 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='[EMAIL PROTECTED]'
 EMAIL_HOST_PASSWORD='excluded'


 === works ===
 ACCOUNT_ACTIVATION_DAYS=7
 EMAIL_HOST='smtp.gmail.com'
 EMAIL_USE_TLS=1
 EMAIL_PORT=587
 EMAIL_HOST_USER='[EMAIL PROTECTED]'
 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

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9575>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to