[rt-users] RT customize SendEmail.pm

ktm at rice.edu ktm at rice.edu
Wed Jan 28 08:58:44 EST 2015


On Wed, Jan 28, 2015 at 10:40:32AM +0100, Sternberger, Sven wrote:
> 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
> 

Hi Sven,

That sounds like a really, really bad idea. This is a great way to start
a mail loop, having a program Email itself. Why are you trying to do this?

Regards,
Ken



More information about the rt-users mailing list