Mercurial > public > sg101
diff gpp/accounts/forms.py @ 513:9e7ae8462f3f
Using celery to send mail out of the request/response cycle.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 13 Dec 2011 02:07:55 +0000 |
parents | b137a0966e4b |
children | 6a265b5768ca |
line wrap: on
line diff
--- a/gpp/accounts/forms.py Sun Dec 11 21:31:10 2011 +0000 +++ b/gpp/accounts/forms.py Tue Dec 13 02:07:55 2011 +0000 @@ -144,8 +144,7 @@ }) subject = 'Registration Confirmation for ' + site.name - send_mail(subject, msg, admin_email, [self.cleaned_data['email']], - expedite=True) + send_mail(subject, msg, admin_email, [self.cleaned_data['email']]) logging.info('Accounts/registration conf. email sent to %s for user %s; IP = %s', self.cleaned_data['email'], pending_user.username, self.ip)