sdi/events.py
branchanoop
changeset 162 27dd4494e7b4
parent 148 f986e4fee615
child 163 b23792dfea3d
equal deleted inserted replaced
161:c7c5c727a483 162:27dd4494e7b4
    28 Sage Days India Team,
    28 Sage Days India Team,
    29 FOSSEE, IIT Bombay.
    29 FOSSEE, IIT Bombay.
    30     """%(first_name.title(), last_name.title())
    30     """%(first_name.title(), last_name.title())
    31 
    31 
    32     send_mail(subject, message, "sagedays@fossee.in", [email])
    32     send_mail(subject, message, "sagedays@fossee.in", [email])
       
    33 
       
    34 def send_wsp_ptc_confirm(user)
       
    35     """ send a mail telling a worksho has been scheduled.
       
    36     """
       
    37 
       
    38     subject = "Sage Days 25, India - Python Workshop"
       
    39 
       
    40     message = """
       
    41 Dear %s %s,
       
    42 
       
    43 We are conducting a one day workshop on Python on Jul 31st for people who requested a workshop before Sage Days 25.
       
    44 
       
    45 Please click the link below or paste it in a browser to confirm your participation.
       
    46 http://fossee.in/sage_days/registration/cnf_wsp_ptc/%s?email=%s
       
    47 
       
    48 Please ignore this mail if you are not likely to attend the workshop.
       
    49 
       
    50 Thanking you,
       
    51 
       
    52 Sage Days India Team,
       
    53 FOSSEE, IIT Bombay.
       
    54     """%(user.first_name.title(), user.last_name.title(), user.id, user.email)
       
    55 
       
    56     send_mail(subject, message, "sagedays@fossee.in", [user.email])
       
    57 
    33 
    58 
    34 def send_sgd_ptc_confirm(user):
    59 def send_sgd_ptc_confirm(user):
    35     """ send a mail telling that you have been selected to attend sage days.
    60     """ send a mail telling that you have been selected to attend sage days.
    36     """
    61     """
    37 
    62