Added my name for the email sender address.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Mon, 24 Jan 2011 23:03:41 +0530
changeset 517 bbc20d6428ad
parent 516 a552aeb7cb4e
child 518 92d2f8fb6d09
Added my name for the email sender address.
scripts/mails.py
--- a/scripts/mails.py	Sun Jan 23 03:21:50 2011 +0530
+++ b/scripts/mails.py	Mon Jan 24 23:03:41 2011 +0530
@@ -9,7 +9,6 @@
 
 from django.template import loader
 from django.contrib.auth.models import User
-from django.utils.translation import ugettext
 
 
 def textbook_workshop_remainder(subject_template=None, body_template=None):
@@ -31,5 +30,5 @@
           body_template, dictionary={'name': full_name})
 
         user.email_user(subject=subject, message=message,
-                        from_email='madhusudancs@fossee.in')
+                        from_email='Madhusudan C.S. <madhusudancs@fossee.in>')