New issue 31 by michael....@gmail.com: notification inserts rows into
Notices buu emails never arrive at destination
http://code.google.com/p/django-notification/issues/detail?id=31
RE notification 0.1.5
1. in manage.py I do:
from notification import models as notification
def create_notice_types(app, created_models, verbosity,**kwargs):
notification.create_notice_type("friends_invite", _("xxx"),
_("yyy"))
signals.post_syncdb.connect(create_notice_types,
sender=notification)
execute_manager(settings)
2. In the views.py I do:
from django.contrib.auth.models import User
u1 = User.objects.get(id=1)
u2 = User.objects.get(id=2)
u3 = User.objects.get(id=3)
L = [u1, u2, u3]
context = {"notice":"hello"}
q1 = send(L, 'friends_invite', context, True, queue=False, now=True)
3. I've tried using the email addresses as the username column value of the
User and tried various versions of send, queue, send_now. It always inserts
a row into Notice, but the emails never arrive at their destination.
Thanks.
I tried setting all the send column (boolean) values in NoticeSetting to
True and voila! the emails suddenly went out, so problem solved.