[rt-users] Send email reminder fails with undefined value
fleon
fleon at seguroscatatumbo.com
Thu Oct 16 08:13:38 EDT 2014
Sorry, i mistyped.
The code is definitely executing, because i put a
RT->Logger->error($Transaction->Type); at the beginning of the code. But i
get all transactions shown on the main ticket view!
I even did just a return; on the code to see it exit and it shows the same.
Here is all the output shown in the ticket page:
It's the "Outgoing email recorded" messages i would like to not even
generate on the database. If that isn't possible, at least hide the messages
when the emails are generated by a cron job instead of regular user input to
the ticket. Or put in another way, i want to hide every email that gets sent
from root.
Here's the output i get on syslog when printing the transaction user and
type:
User 12 seems to be root, and EmailRecord is the transaction
Can't i use RT::Action:SendEmail instead of RT::Action::Notify to avoid
getting the transaction on the ticket in the first place? That way i could
delete the callback...But i would need SendEmail to be able to read the
ticket information
--
View this message in context: http://requesttracker.8502.n7.nabble.com/Send-email-reminder-fails-with-undefined-value-tp58805p58856.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
More information about the rt-users
mailing list