[rt-users] New Script

Anne M. Hammond hammond at txcorp.com
Wed Mar 2 16:21:04 EST 2016


Hi,

We would like to Cc sugar-sales on incoming RT correspondence.

The email to sugarcrm would be From: {Requestor}, not
RT.  

I created a new script:

Name:  Cc sugar-sales
Description:  Send Cc of original request with Requestor as Sender to sugar-sales
Type Perl
Content:

To:sugar-sales at mycorp.com

From:{$Ticket->Requestor}

Subject: {$Ticket->Subject}

{$Transaction->Content()}

——————————

Then I "Create a script for queue Testing":

Description:  Cc sugar-sales
Condition: On create
Action:  Notify other recipients
Template:  Cc sugar-sales
Stage:  TransactionCreate

Save
——————————

But the message is not sent.  

If I look at Current Scrips, this is #114.
I don’t see that #114 is executed by looking in /var/log/messages.

Is there another place to look?  Or is this not the way to do this?

Thanks in advance for any pointers,
Anne




More information about the rt-users mailing list