Rt-command : SendEmail : No recipients found

Hi,

I would like to send an email notification regarding reminders.
I run this command:
/opt/rt4/bin/rt-crontool --search RT::Search::FromSQL --search-arg ‘Type = “reminder” and (Status = “open” or Status = “new”)’ --condition RT::Condition::BeforeDue --condition-arg 1h --action RT::Action::SendEmail --action-arg owner --transaction first --template ‘Reminder’

this command find :
https://docs.bestpractical.com/rt/4.4.1/reminders.html

error message :
[33038] [Fri Jun 2 15:15:47 2017] [info]: rt-4.4.1-33038-1496416547-1629.67-0-0@SMH #67/1326 - Scrip #rule (/opt/rt4/bin/…/lib/RT/Action/SendEmail.pm:285)
[33038] [Fri Jun 2 15:15:47 2017] [info]: rt-4.4.1-33038-1496416547-1629.67-0-0@SMH No recipients found. Not sending. (/opt/rt4/bin/…/lib/RT/Interface/Email.pm:806)

help me !!!

You’re trying to send emails for reminders which are due in 1 hour?

Yes, I would like the owners to receive an email when one of their reminders expires.
I run the rt-crontool every hour.

Could you please try this line --action-arg Owner,AlwaysNotifyActor instead of yours?

Thank you very much
By completing --action-arg with Owner, AlwaysNotifyActor, RT send the notifys.
It’s very great.

1 Like