[Oi-commits] r1360 - branches/stable/forum

oi-commits at pardus.org.tr oi-commits at pardus.org.tr
Wed May 7 16:16:36 EEST 2008


Author: erenturkay
Date: Wed May  7 16:16:35 2008
New Revision: 1360

Modified:
   branches/stable/forum/views.py
Log:
add mail header


Modified: branches/stable/forum/views.py
=================================================================
--- branches/stable/forum/views.py	(original)
+++ branches/stable/forum/views.py	Wed May  7 16:16:35 2008
@@ -237,7 +237,7 @@
                 if user.username == 'Eren':
                     email_list.append(user.email)# send mailing list also.
 
-            send_mail_with_header('Re: %s' % topic.title,
+            send_mail_with_header('[Ozgurlukicin-forum] Re: %s' % topic.title,
                                   '%s\n%s<br /><br /><a href="%s">%s</a>' % (css, render_bbcode(form.cleaned_data['text']), post_url, post_url),
                                   '%s <%s>' % (request.user.username, FORUM_FROM_EMAIL),
                                   email_list,
@@ -336,7 +336,7 @@
                     email_list.append(user.email)
 
             # send e-mail to mailing list. We really rock, yeah!
-            send_mail_with_header('%s' % topic.title,
+            send_mail_with_header('[Ozgurlukicin-forum] %s' % topic.title,
                                   '%s<br /><br /><a href="%s">%s</a>' % (post.text, post_url, post_url),
                                   '%s <%s>' % (request.user.username, FORUM_FROM_EMAIL),
                                   email_list,


More information about the Oi-commits mailing list