TimedNotifications - RT-Send-Cc broken?

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: user@domain.com’ 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]: rt-4.0.11-4694-1366823053-429.7894-8-0@rt.mydomain.com sent To: “AdminCc Ticket #7894”:; Bcc: amarosi@mydomain.com (/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: atmarosi@gmail.com (/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: manager@domain.com
In-Reply-To:
References: RT-Ticket-7894@rt.mydomain.com
Message-ID: rt-4.0.11-4694-1366823053-1703.7894-9-0@rt.mydomain.com
Precedence: bulk
X-RT-Loop-Prevention: Domain
RT-Ticket: Luminance #7894
Managed-BY: RT 4.0.11 (Request Tracker — Best Practical Solutions)
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: manager@domain.com
In-Reply-To:
References: RT-Ticket-7894@rt.mydomain.com
Message-ID: rt-4.0.11-4694-1366823053-1703.7894-9-0@rt.mydomain.com
Precedence: bulk
X-RT-Loop-Prevention: Domain
RT-Ticket: Luminance #7894
Managed-BY: RT 4.0.11 (Request Tracker — Best Practical Solutions)
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]: rt-4.0.11-4694-1366823053-1703.7894-9-0@rt.mydomain.com #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]: rt-4.0.11-4694-1366823053-1703.7894-9-0@rt.mydomain.com 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)

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: user@domain.com’ 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.

I’d guess that your RT-Send-Cc: isn’t fully flush to the left of your
template and as such RT thinks it is a folded Subject: line.

You may find it easier to implement this type of thing using
http://bestpractical.com/rt/docs/latest/rt-email-group-admin.html
which allows you to send mail to an arbitrary group of users.

This also avoids recording a comment and instead just sends the mail
since your action is --action RT::Action::NotifyGroup --action-arg
managers

-kevin