Hi RT Users,
i'm just playing around with RT Crontool and the possibility to send mails
from. Found at the wiki:
http://wiki.bestpractical.com/index.cgi?TimedNotifications
I have created a template:
Subject: [REMINDER] {$Ticket->id} unowned after 8 hours!
RT-Send-Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
The ticket {$Ticket->id} has been unowned for 8 Hours now.
{$Transaction->Content()}
And the crontool entry for this:
./rt-crontool --verbose --search RT::Search::FromSQL --search-arg "Status =
'new' AND Queue = 'KN.DE.CR.BUSAPPL-SI'" --condition
RT::Condition::UntouchedInHours --condition-arg 1 --action
RT::Action::RecordComment --template 'myreminder'
and i get the following error:
[Fri Mar 2 14:57:11 2007] [error]: error: unexpected end of header
(/opt/rt3/lib/RT/Template_Overlay.pm:336)
Stack trace:
RT::Template::Parse() called at
/opt/rt3/lib/RT/Action/RecordComment.pm:103
RT::Action::RecordComment::CreateTransaction() called at
/opt/rt3/lib/RT/Action/RecordComment.pm:97
RT::Action::RecordComment::Commit() called at ./rt-crontool:170
569465: Using transaction #5851736...Condition matches...Action prepared...
Whats going wrong? How can i set up this, to sent reminder Mails to groups
or users???
Thanks
--
MFG
Torsten Brumm
http://www.torsten-brumm.de
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com