diff -r c7c5c727a483 -r 27dd4494e7b4 sdi/events.py --- a/sdi/events.py Thu Jul 22 19:50:36 2010 +0530 +++ b/sdi/events.py Thu Jul 22 22:37:43 2010 +0530 @@ -31,6 +31,31 @@ send_mail(subject, message, "sagedays@fossee.in", [email]) +def send_wsp_ptc_confirm(user) + """ send a mail telling a worksho has been scheduled. + """ + + subject = "Sage Days 25, India - Python Workshop" + + message = """ +Dear %s %s, + +We are conducting a one day workshop on Python on Jul 31st for people who requested a workshop before Sage Days 25. + +Please click the link below or paste it in a browser to confirm your participation. +http://fossee.in/sage_days/registration/cnf_wsp_ptc/%s?email=%s + +Please ignore this mail if you are not likely to attend the workshop. + +Thanking you, + +Sage Days India Team, +FOSSEE, IIT Bombay. + """%(user.first_name.title(), user.last_name.title(), user.id, user.email) + + send_mail(subject, message, "sagedays@fossee.in", [user.email]) + + def send_sgd_ptc_confirm(user): """ send a mail telling that you have been selected to attend sage days. """