app/soc/cron/student_proposal_mailer.py
changeset 2255 783e69b54d47
parent 2240 df37a3ff8ed5
child 2365 a66e1dd8ced7
equal deleted inserted replaced
2254:416da888eaa6 2255:783e69b54d47
   111                                           limit=DEF_STUDENT_STEP_SIZE)
   111                                           limit=DEF_STUDENT_STEP_SIZE)
   112 
   112 
   113   # we are finished
   113   # we are finished
   114   return
   114   return
   115 
   115 
       
   116 
   116 def sendStudentProposalMail(job_entity):
   117 def sendStudentProposalMail(job_entity):
   117   """Job that will send out an email to a student that sent in a proposal
   118   """Job that will send out an email to a student that sent in a proposal
   118   that either got accepted or rejected.
   119   that either got accepted or rejected.
   119 
   120 
   120   Args:
   121   Args:
   179     # send out the constructed email
   180     # send out the constructed email
   180     mail_dispatcher.sendMailFromTemplate(template, context)
   181     mail_dispatcher.sendMailFromTemplate(template, context)
   181 
   182 
   182   # we are done here
   183   # we are done here
   183   return
   184   return
   184