def send(self, torcpts, ccrcpts): if self.imitate_ticket_notification: TicketNotifyEmail.send(self, torcpts, ccrcpts) else: NotifyEmail.send(self, torcpts, ccrcpts)
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)
def send(self, torcpts, ccrcpts): if self.imitate_ticket_notification: TicketNotifyEmail.send(self, torcpts, ccrcpts) else: NotifyEmail.send(self, torcpts, ccrcpts)