common/mail.py
branchstable
changeset 3114 f87fd632e3f6
parent 3113 169bbf0b8dec
child 3120 57ceabc6dfbc
equal deleted inserted replaced
3113:169bbf0b8dec 3114:f87fd632e3f6
   238 
   238 
   239     def send_on_commit(self, recipients, msg):
   239     def send_on_commit(self, recipients, msg):
   240         raise NotImplementedError
   240         raise NotImplementedError
   241 
   241 
   242     send = send_now
   242     send = send_now
       
   243 
       
   244 
       
   245 class SkipEmail(Exception):
       
   246     """raise this if you decide to skip an email during its generation"""