~bestpractical/rt/4.4

« back to all changes in this revision

Viewing changes to lib/RT/Interface/Email.pm

  • Committer: sunnavy
  • Date: 2023-10-19 19:21:12 UTC
  • mfrom: (8994.2.1)
  • Revision ID: git-v1:019efbaab6930affe82819ffa2e8e2ac9b5c1f2c
Merge branch '4.4.7-releng' into 4.4-trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
        );
160
160
    }
161
161
 
 
162
    # Clean up sensitive headers. Crypt related headers are cleaned up in RT::Interface::Email::Crypt::VerifyDecrypt
 
163
    my @headers = qw( RT-Attach RT-Send-Cc RT-Send-Bcc RT-Message-ID RT-DetectedAutoGenerated RT-Squelch-Replies-To );
 
164
    $Message->head->delete($_) for @headers;
 
165
 
162
166
    #Set up a queue object
163
167
    my $SystemQueueObj = RT::Queue->new( RT->SystemUser );
164
168
    $SystemQueueObj->Load( $args{'queue'} );