[rt-users] Possible bug with Scrips? (RT 3.0.8)

Todd Chapman rt at chaka.net
Wed Feb 4 10:12:09 EST 2004


Am I talking to myself too much? :)

It looks like a difference in Autoreply.pm and Notify.pm.

Autoreply.pm sets the 'To' differently than Notify.pm.

-Todd

On Wed, Feb 04, 2004 at 09:44:19AM -0500, Todd Chapman wrote:
> More details:
> 
> I added some logging info to SendEmail.pm:
> 
>     #send the email
> 
> $RT::Logger->info("Pre-weed To: " . join ( ',', @{ $self->{'To'} } ));
>         # Weed out any RT addresses. We really don't want to talk to ourselves!
>         @{$self->{'To'}} = RT::EmailParser::CullRTAddresses("", @{$self->{'To'}});
> 
> Here is the log output showing that the requestor is set in
> $self->{'To'} when the ticket is created, but not when the
> ticket is resolved just seconds later.
> 
> 07:14:42 RT: <rt-3.0.8-175-3048.11.1630559483054 at gedas.com> #175/3048 - Scrip 2  (/opt/rt3/local/lib/RT/Action/SendEmail.pm:92)
> 07:14:42 RT: Pre-weed To: chapmat at slah001.abh.vw.com (/opt/rt3/local/lib/RT/Action/SendEmail.pm:95)
> 07:14:42 RT: To: chapmat at slah001.abh.vw.com (/opt/rt3/local/lib/RT/Action/SendEmail.pm:128)
> 07:14:42 RT: <rt-3.0.8-175-3048.11.1630559483054 at gedas.com> sent To: chapmat at slah001.abh.vw.com Cc:  Bcc:  (/opt/rt3/local/lib/RT/Action/SendEmail.pm:304)
> 
> 07:15:00 RT: <rt-3.0.8-175-3049.9.13246137098447 at gedas.com> #175/3049 - Scrip 15 Notify Requestor on Resolve (/opt/rt3/local/lib/RT/Action/SendEmail.pm:92)
> 07:15:00 RT: Pre-weed To:  (/opt/rt3/local/lib/RT/Action/SendEmail.pm:95)
> 07:15:00 RT: To:  (/opt/rt3/local/lib/RT/Action/SendEmail.pm:128)
> 07:15:00 RT: <rt-3.0.8-175-3049.9.13246137098447 at gedas.com>  No recipients found. Not sending.  (/opt/rt3/local/lib/RT/Action/SendEmail.pm:259)
> 
> This is very strange.
> 
> -Todd
> 



More information about the rt-users mailing list