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…
From: Rob Walker [mailto:email@example.com]
Sent: Thursday,18 December,2003 19:10
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
[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.
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.
Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm