[rt-users] Can't call method "Parse" when sending email ...SendEmail.pm && rt-crontool

Senoner Samuel Samuel.Senoner at eurac.edu
Fri Dec 19 04:11:40 EST 2003


In my opinion SendEmail does'nt work with the crontool.
I asked once, but nobody said to me that it works.
Look at the archives, my theory was that a variable is not passed, I can't remember I think transactionobj or so....

Samuel 

-----Original Message-----
From: Rob Walker [mailto:rob at myinternetplace.net] 
Sent: Thursday,18 December,2003 19:10
To: rt-users
Subject: [rt-users] Can't call method "Parse" when sending email ...SendEmail.pm && rt-crontool


[Sorry if this comes through two times, I posted this last Monday, but haven't seen it on the list.]



I have looked online, and the only other question about this topic is found in the question at http://lists.fsck.com/pipermail/rt-users/2003-May/013943.html but there is not any answers posted to that thread.

I need to send an email to everyone who has a ticket open which is overdue.

When I run rt-crontool from the command line, I get the following
errors:

rt-crontool --verbose \
            --search RT::Search::ActiveTicketsInQueue \
            --search-arg General \
            --condition RT::Condition::Overdue \
            --action RT::Action::SendEmail 

[Tue Dec 16 00:50:49 2003] [crit]: Can't call method "Parse" on an undefined value at /usr/share/perl5/RT/Action/SendEmail.pm line 210.
 (/usr/share/perl5/RT.pm:254)



I have updated the SendEmail.pm file to be the one from 2.0.7, but the changes there are a Cc -> Bcc typo fix and a || die; on a sendmail call.  Doesn't seem to be too much of a change.

Rob

_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm





More information about the rt-users mailing list