src/cm/notifications.py
changeset 7 548c727b8dc2
parent 0 40c8f766c9b8
child 53 3be33d57ab11
equal deleted inserted replaced
6:2fae765d6ebc 7:548c727b8dc2
    66                                      'CONF' : ApplicationConfiguration,
    66                                      'CONF' : ApplicationConfiguration,
    67                                       })
    67                                       })
    68     
    68     
    69     send_mail(subject, message, ApplicationConfiguration['email_from'], [email], fail_silently=True)
    69     send_mail(subject, message, ApplicationConfiguration['email_from'], [email], fail_silently=True)
    70     
    70     
    71     logging.debug("Notification sent [%s] => %s" %(activity,notification.user) if notification.user else "sending (email) %s => %s" %(activity,notification.email))
    71     #logging.debug(u"Notification sent [%s] => %s" %(activity,notification.user) if notification.user else u"sending (email) %s => %s" %(activity,notification.email))