Exemplo n.º 1
0
 def send(self, torcpts, ccrcpts):
     if self.imitate_ticket_notification:
         TicketNotifyEmail.send(self, torcpts, ccrcpts)
     else:
         NotifyEmail.send(self, torcpts, ccrcpts)
Exemplo n.º 2
0
 def send(self, torcpts, ccrcpts, mime_headers={}):
     public_cc = self.config.getbool('notification', 'use_public_cc')
     if not public_cc and not 'Cc' in mime_headers and self.ccrecipients:
         mime_headers['Cc'] = ', '.join(self.ccrecipients)
     TicketNotifyEmail.send(self, torcpts, ccrcpts)
Exemplo n.º 3
0
 def send(self, torcpts, ccrcpts):
     if self.imitate_ticket_notification:
         TicketNotifyEmail.send(self, torcpts, ccrcpts)
     else:
         NotifyEmail.send(self, torcpts, ccrcpts)