sdi/events.py
branchanoop
changeset 185 3ab058807ef6
parent 184 21ec3fa1d372
child 187 47282ad1b862
equal deleted inserted replaced
184:21ec3fa1d372 185:3ab058807ef6
   119 FOSSEE, IIT Bombay.
   119 FOSSEE, IIT Bombay.
   120     """%(user.first_name.title(), user.last_name.title())
   120     """%(user.first_name.title(), user.last_name.title())
   121 
   121 
   122     send_mail(subject, message, "sagedays@fossee.in", [user.email])
   122     send_mail(subject, message, "sagedays@fossee.in", [user.email])
   123 
   123 
   124 def send_acco_confirm(user, message):
   124 def send_acco_confirm_mail(user_obj, message):
   125     """ take the given message and add it to main message and send the mail.
   125     """ take the given message and add it to main message and send the mail.
   126     """
   126     """
   127 
   127 
   128     subject = "Sage Days 25, India - Accomodation arranged"
   128     subject = "Sage Days 25, India - Accomodation arranged"
   129 
   129 
   136 
   136 
   137 Thanking you,
   137 Thanking you,
   138 
   138 
   139 Sage Days India Team,
   139 Sage Days India Team,
   140 FOSSEE, IIT Bombay.
   140 FOSSEE, IIT Bombay.
   141     """%(user.first_name.title(), user.last_name.title(),message)
   141     """%(user_obj.first_name.title(), user_obj.last_name.title(),message)
   142 
   142 
   143     send_mail(subject, main_message, "sagedays@fossee.in", [user.email])
   143     send_mail(subject, main_message, "sagedays@fossee.in", [user_obj.email])
   144 
   144 
   145 def mail_invi(to_emails):
   145 def mail_invi(to_emails):
   146     """ send the invitation email to given email addresses.
   146     """ send the invitation email to given email addresses.
   147     """
   147     """
   148 
   148