Ticket #229: email2trac_178_addon.diff

File email2trac_178_addon.diff, 497 bytes (added by hju@…, 13 years ago)

additional code based on ticket #178

  • (a) ./email2trac_178 vs. (b) email2trac_178_new

    a b  
    20222026        Copy of def notify() to manipulate recipents 
    20232027        """
    20242028        (torcpts, ccrcpts) = self.get_recipients(resid)
     2029        # check if sender is in list of mail-adresses to be ignored
     2030        if not tktparser.email_header_acl('notify_black_list', sender_email, False):
    20252031        torcpts.append(sender_email)
     2032               
    20262033        self.begin_send()
    20272034        self.send(torcpts, ccrcpts)
    20282035        self.finish_send()