Rt-crontool returns "No recipients found. Not sending."

Hi all,
Further to my rt-crontool question about notifying ticket owners of
untouched tickets, I’ve made a bit of progress in that I’m getting a new
error. I tried adding
–transaction first
to the crontool call, and that seemed to do something. Now, I’m getting an
error similar to:

[17710] [Thu Dec 22 21:04:01 2016] [info]: <
rt-4.4.1-17710-1482440641-776.656-0-1@example.com> No recipients found. Not
sending. (/opt/rt4/bin/…/lib/RT/Interface/Email.pm:806)

My actions are:

–action RT::Action::Notify
–action-arg RT::Action::NotifyOwnerOrAdminCc
(also tried)
–action-arg owner

I don’t know where this address is coming from, or what it means, but
clearly some address is being found. Why would it say there are no
recipients found, then? The ticket requestor is the same as the owner,
because we have our RT set up to make that happen on ticket creation, if
that will be a problem. What might I be missing? I’m so close to having
this working! RT4.4.1, Debian 8. Thanks!

Alex Hall
Automatic Distributors, IT department
ahall@autodist.com

I just wondered if anyone had any ideas on this. I haven’t gotten further
than what’s in the below message, and I don’t know why that isn’t working.
I see similar addresses to the below in the mail logs all the time, so this
has to be some kind of address that RT understands. It just won’t send
mail. Needless to say, my boss really wants stale ticket alerts to work,
and as far as I know, it’s this one last problem that is stopping me from
doing that.On Thu, Dec 22, 2016 at 4:17 PM, Alex Hall ahall@autodist.com wrote:

Hi all,
Further to my rt-crontool question about notifying ticket owners of
untouched tickets, I’ve made a bit of progress in that I’m getting a new
error. I tried adding
–transaction first
to the crontool call, and that seemed to do something. Now, I’m getting an
error similar to:

[17710] [Thu Dec 22 21:04:01 2016] [info]: <rt-4.4.1-17710-1482440641-
776.656-0-1@example.com> No recipients found. Not sending.
(/opt/rt4/bin/…/lib/RT/Interface/Email.pm:806)

My actions are:

–action RT::Action::Notify
–action-arg RT::Action::NotifyOwnerOrAdminCc
(also tried)
–action-arg owner

I don’t know where this address is coming from, or what it means, but
clearly some address is being found. Why would it say there are no
recipients found, then? The ticket requestor is the same as the owner,
because we have our RT set up to make that happen on ticket creation, if
that will be a problem. What might I be missing? I’m so close to having
this working! RT4.4.1, Debian 8. Thanks!


Alex Hall
Automatic Distributors, IT department
ahall@autodist.com

Alex Hall
Automatic Distributors, IT department
ahall@autodist.com

/opt/rt5/bin/rt-crontool --search RT::Search::FromSQL --search-arg "<your search arguments>" --action RT::Action::Notify --action-arg Owner --template "DUE behind time" --transaction last --transaction-type EmailRecord 

This command sends an email to the ticket Owner.