I'm following http://requesttracker.wikia.com/wiki/TimedNotifications in efforts to setup a crude reminder based off a RT::Search::FromSQL query however in the template it has 'RT-Send-Cc: [email protected]' and that is not working when running the rt-crontool calling the template.
I get an email as a watcher, but the email contains the RT-Send-Cc line of code IN the subject line....What am I doing wrong? I've looked at the logs in debug mode and included a scrubbed version below. Thanks! [Wed Apr 24 17:04:13 2013] [info]: <[email protected]> sent To: "AdminCc Ticket #7894":; Bcc: [email protected] (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:316) [Wed Apr 24 17:04:13 2013] [debug]: Converting 'utf-8' to 'utf-8' for text/plain - [[TechQuestions] #7894] [Comment] 7894 unowned after 48 hours! RT-Send-Cc: [email protected] (/opt/rt4/bin/../lib/RT/I18N.pm:244) [Wed Apr 24 17:04:13 2013] [debug]: About to think about scrips for transaction #131352 (/opt/rt4/bin/../lib/RT/Transaction.pm:173) [Wed Apr 24 17:04:13 2013] [debug]: Committing scrip #9 on txn #131351 of ticket #7894 (/opt/rt4/bin/../lib/RT/Scrips.pm:182) [Wed Apr 24 17:04:13 2013] [debug]: Calling SetRecipientDigests for transaction RT::Transaction=HASH(0xb65e21c), id 131351 (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:628) [Wed Apr 24 17:04:13 2013] [debug]: Working on mailfield Cc; recipients are (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:644) [Wed Apr 24 17:04:13 2013] [debug]: Subject: [[TechQuestions] #7894] 7894 unowned after 48 hours! RT-Send-Cc: [email protected] From: "Root" <[email protected]> Reply-To: [email protected] In-Reply-To: References: <[email protected]> Message-ID: <[email protected]> Precedence: bulk X-RT-Loop-Prevention: Domain RT-Ticket: Luminance #7894 Managed-BY: RT 4.0.11 (http://www.bestpractical.com/rt/) RT-Originator: root@localhost MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:651) [Wed Apr 24 17:04:13 2013] [debug]: Removing deferred recipients from Cc: line (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:674) [Wed Apr 24 17:04:13 2013] [debug]: Setting deferred recipients for attribute creation (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:683) [Wed Apr 24 17:04:13 2013] [debug]: Working on mailfield Bcc; recipients are (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:644) [Wed Apr 24 17:04:13 2013] [debug]: Subject: [[TechQuestions] #7894] 7894 unowned after 48 hours! RT-Send-Cc: [email protected] From: "Root" <[email protected]> Reply-To: [email protected] In-Reply-To: References: <[email protected]> Message-ID: <[email protected]> Precedence: bulk X-RT-Loop-Prevention: Domain RT-Ticket: Luminance #7894 Managed-BY: RT 4.0.11 (http://www.bestpractical.com/rt/) RT-Originator: root@localhost MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:651) [Wed Apr 24 17:04:13 2013] [debug]: Removing deferred recipients from Bcc: line (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:674) [Wed Apr 24 17:04:13 2013] [debug]: Setting deferred recipients for attribute creation (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:683) [Wed Apr 24 17:04:13 2013] [debug]: No recipients found for deferred delivery on transaction #131351 (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:696) [Wed Apr 24 17:04:13 2013] [info]: <[email protected]> #7894/131351 - Scrip 9 On Comment Notify Other Recipients as Comment (/opt/rt4/bin/../lib/RT/Action/SendEmail.pm:285) [Wed Apr 24 17:04:13 2013] [info]: <[email protected]> No recipients found. Not sending. (/opt/rt4/bin/../lib/RT/Interface/Email.pm:385) [Wed Apr 24 17:04:13 2013] [debug]: Committing scrip #11 on txn #131351 of ticket #7894 (/opt/rt4/bin/../lib/RT/Scrips.pm:182) [Wed Apr 24 17:04:13 2013] [debug]: Found 1 scrips for TransactionBatch stage with applicable type(s) Comment for txn #131351 on ticket #7894 (/opt/rt4/bin/../lib/RT/Scrips.pm:377) [Wed Apr 24 17:04:13 2013] [warning]: Found = in conditional, should be == at (eval 1255) line 22. ((eval 1255):22) [Wed Apr 24 17:04:13 2013] [debug]: Skipping Scrip #10 because it isn't applicable (/opt/rt4/bin/../lib/RT/Scrips.pm:229)
