Mercurial > public > sg101
comparison gpp/core/functions.py @ 181:500e5875a306
Implementing #61: adding a forum topic subscription feature.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 28 Mar 2010 01:07:47 +0000 |
parents | aef00df91165 |
children | 423c39ee44e0 |
comparison
equal
deleted
inserted
replaced
180:aef00df91165 | 181:500e5875a306 |
---|---|
2 import datetime | 2 import datetime |
3 | 3 |
4 import django.core.mail | 4 import django.core.mail |
5 from django.contrib.sites.models import Site | 5 from django.contrib.sites.models import Site |
6 from django.conf import settings | 6 from django.conf import settings |
7 | |
8 import mailer | |
7 | 9 |
8 | 10 |
9 def send_mail(subject, message, from_email, recipient_list, | 11 def send_mail(subject, message, from_email, recipient_list, |
10 fail_silently = False, auth_user = None, auth_password = None): | 12 fail_silently = False, auth_user = None, auth_password = None): |
11 """The main gpp send email function. | 13 """The main gpp send email function. |