[rt-users] RT: User-defined action to send mail template to a specific address?
Rick Russell
rickr at rice.edu
Wed Mar 23 11:55:07 EST 2005
This seems like kind of a dumb question, but I've been thinking about it
for a long time and I'm coming up empty. Any help is appreciated.
There are various times when I want to notify a specific e-mail address
when something happens. However, I don't want them to be an CC or AdminCC.
I want to send a single e-mail with a scrip.
I'd like to write a user defined action that simply sends e-mail to a
given address, using the scrip-specified template. Something like:
my $To = 'rickr at rice.edu'
send_template_mail($To);
That's all. I've looked at RT::Action::Notify and RT::Action::SendMail,
but I am far from a state of PERL Zen Mastery, and I can't make heads or
tails of them. Can anybody help me with some sample code?
--
Rick Russell
For computer help, call xHELP (x4357 or 713-348-4357)
OpenPGP/GnuPG Public Key at ldap://certificate.rice.edu
761D 1C20 6428 580F BD98 F5E5 5C8C 56CA C7CB B669
--
Helpdesk Supervisor, Client Services
IT/Academic & Research Computing
Rice University
Voice: 713.348.5267 Fax: 713.348.6099
More information about the rt-users
mailing list