Rt-crontool notification problem

I’m trying to get notifications working and I’ve been reading this
page for info.
http://wiki.bestpractical.com/index.cgi?TimedNotifications

No matter what I do, I come up with the 'unexpected end of header’
error in the rt.log. I see no reason why though. After a variety of
attempts, here is the template, cut and pasted:

RT-Send-Cc: address@example.com

The ticket { Ticket->Id } has been unowned for 2 days now. Get busy.

No leading empty line. Definite empty line after my additional header fields.

Just for kicks I also tried putting in a template that I know to be
working and I get the same ‘unexpected end of header’ error.

Here is my rt-crontool line command.

./rt-crontool --verbose --search RT::Search::FromSQL --search-arg
"Queue = 38 AND Status != ‘resolved’ AND Status != ‘rejected’ and due
< 1000 " --action RT::Action::RecordComment --template NoDueDate

FreeBSD 4.10-RELEASE-p3 #6
perl-5.8.5
DBIx::SearchBuilder-1.12
rt-3.2.2

Andy Harrison


Subject: { Ticket->Id } unowned after 48 hours!
RT-Send-Cc: address@example.com

The ticket { Ticket->Id } has been unowned for 2 days now. Get busy.

Not sure how this happened, but the template actually does have the
correct variable { $Ticket->id }, not as what shows up previously {
Ticket->Id }. Bizarre alteration…

Andy Harrison