[rt-users] Send email from script
Tariq Doukkali
tariq.doukkali at autoform.de
Wed Jul 22 01:57:10 EDT 2009
Hi Ashish,
many Thanks for your answer !!!!
I want sent an email from a user defined action, but I don't know how can I do that ;-((
Tariq
-----Ursprüngliche Nachricht-----
Von: Potla, Ashish Bassaliel [mailto:c_apotla at qualcomm.com]
Gesendet: Dienstag, 21. Juli 2009 20:35
An: Gene LeDuc; Tariq Doukkali
Cc: rt-users at lists.bestpractical.com
Betreff: RE: [rt-users] Send email from script
You can actually send out emails via scrips with user defined scrip-Action.
The action is but a bit longwinded, but I use it for some of my queues to tweak the outgoing emails (Like add/remove an email id from the outgoing email for all email transactions -- for instance).
Let me know if you want the user defined action.
-Ashish
________________________________________
From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] On Behalf Of Gene LeDuc [gleduc at mail.sdsu.edu]
Sent: Tuesday, July 21, 2009 11:32 PM
To: Tariq Doukkali
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Send email from script
Hi Tariq,
The obvious answer: You select one of the Notify actions that generate
e-mail and use a template to design the e-mail.
But you probably would've figured that out for yourself.
If you are asking how to send an e-mail from a scrip with a user-defined
action, I don't think you can. I get around this shortcoming by
generating some other transaction in the script code and then use that
transaction to trigger a scrip that does the Notify action. Convoluted,
but it works.
We don't use the Priority field in our tickets, so I use it to trigger
stuff like that.
Have fun!
Gene
Tariq Doukkali wrote:
> Hello,
>
> how can I send an email from a script ???
>
> Many thanks
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
More information about the rt-users
mailing list