sdi/events.py
branchanoop
changeset 148 f986e4fee615
parent 137 02a5304a2c5f
child 162 27dd4494e7b4
equal deleted inserted replaced
147:76935f280a4d 148:f986e4fee615
    57 FOSSEE, IIT Bombay.
    57 FOSSEE, IIT Bombay.
    58     """%(user.first_name.title(), user.last_name.title(), user.id, user.email)
    58     """%(user.first_name.title(), user.last_name.title(), user.id, user.email)
    59 
    59 
    60     send_mail(subject, message, "sagedays@fossee.in", [user.email])
    60     send_mail(subject, message, "sagedays@fossee.in", [user.email])
    61 
    61 
       
    62 def send_cnf_email(user):
       
    63     """ send email so that it can be shown at the gate in IIT
       
    64     """
       
    65 
       
    66     subject = "Sage Days 25, India - Thankyou for confirming participation"
       
    67 
       
    68     message = """
       
    69 Dear %s %s,
       
    70 
       
    71 Thank you for confirming your participation in Sage Days 25, India.
       
    72 
       
    73 Please carry a copy of this email, to be shown at the security outpost to enter IIT Bombay.
       
    74 
       
    75 PS: Take a pass for your Laptop/Camera while entering into the campus.
       
    76 
       
    77 Thanking you,
       
    78 
       
    79 Sage Days India Team,
       
    80 FOSSEE, IIT Bombay.
       
    81     """%(user.first_name.title(), user.last_name.title())
       
    82 
       
    83     send_mail(subject, message, "sagedays@fossee.in", [user.email])
       
    84 
       
    85 
       
    86 
       
    87 
    62 def mail_invi(to_emails):
    88 def mail_invi(to_emails):
    63     """ send the invitation email to given email addresses.
    89     """ send the invitation email to given email addresses.
    64     """
    90     """
    65 
    91 
    66     subject = "Invitation to Sage Days 25, India"
    92     subject = "Invitation to Sage Days 25, India"