Hey,

 I think you should take a look at this. I used this and its working
fine.

http://www.djangosnippets.org/snippets/141/

Do remember to install 'libgmail' module inorder to get this working.



On Apr 24, 10:55 am, Szaijan <[EMAIL PROTECTED]> wrote:
> I am building my first Django app and trying to incorporate django-
> registration.  Whenever a link gets clicked that calls for sending
> mail to a user, the page loads continually with no timeout.  No errors
> are generated and no URL info appears in STDOUT or STDERR when running
> on the dev server.  This happens whether running on Apache2 w/Mod Perl
> or the dev server.  With no errors being returned I am having a hell
> of a time debugging it.  Has anyone else had this experience and
> solved it?
>
> Everything else appears to be functioning correctly, and both the user
> registration function and password reset function do what they're
> supposed to (i.e. create a new inactive user or reset the user's
> password.)
>
> I am using the latest SVN version of Django.
> Latest release Mod Python, 3.3.1.
> Python 2.5.1.
> Apache 2 Mac OSX Fink Port, 2.0.59.
> Running on a MacBook Pro behind a Netgear router and Comcast cable
> modem using NAT with port forwarding of Port 80 to the MacBook.
>
> django-registration version 1.8 from SVN.
>
> Trying to use GMail as my SMTP server.  Settings:
>
> ACCOUNT_ACTIVATION_DAYS=7
> EMAIL_TLS = True
> EMAIL_HOST = 'smtp.gmail.com'
> EMAIL_HOST_PASSWORD = "myGmailPassword"
> EMAIL_HOST_USER = '[EMAIL PROTECTED]'
> EMAIL_PORT = 465
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to