comments notify email addresses

This commit is contained in:
Sanj 2011-07-24 12:02:20 +05:30
parent b1c7dd907e
commit 6498ac90f7

View File

@ -53,7 +53,7 @@ def comments_notify(sender, **kwargs):
# url = "http://theatreforum.in/erang/?issue_id=%d" % (erang_id)
admin_url = "http://theatreforum.in/admin/comments/comment/%d/" % (comment_id)
message = "Name: %s \n Email: %s \n Comment: %s\n\n Moderate: %s" % (name, email, content, admin_url)
send_mail("New comment on Theatreforum.in", message, "do_not_reply@theatreforum.in", ["erang@theatreforum.in", "sanjaybhangar@gmail.com", "sharvari@theatreforum.in"])
send_mail("New comment on Theatreforum.in", message, "do_not_reply@theatreforum.in", ["sanjaybhangar@gmail.com"])
return True
comment_was_posted.connect(comments_notify)