[rt-users] RT customize SendEmail.pm

Sternberger, Sven sven.sternberger at desy.de
Wed Jan 28 04:40:32 EST 2015


Hello!


I want to modify the SendEmail.pm module, to disable the
check for RTAdresses, so we want to send emails
even if RT thinks they are RT email adresses.

I would copy the file SendEmail.pm to "SendEmail_Local.pm" and remove 
these lines

    $self->RecipientFilter(
        Callback => sub {
            return unless RT::EmailParser->IsRTAddress( $_[0] );
            return "$_[0] appears to point to this RT instance. Skipping";
        },
        All => 1,
    );

would this work?

regards!

Sven

Sven Sternberger
System Engineer
Tel.: 040/8998-4397
DESY IT



More information about the rt-users mailing list