[rt-users] Email Tag

Bryon Baker bbaker at copesan.com
Tue Jun 30 09:43:25 EDT 2015


Hello all
I am working with an automated email process between two systems.  The system sending the email requires that the subject line not be change in the response.  So I need to remove the [rtname #12234] from the subject line.

What is the best way to accomplish this?  I have tried both scripts and a template.

My current template is as follows.  This was my latest attempt to remove the tag.

RT-Attach-Message: yes
Subject:{my $subject;
{
  my $comapreStr = $Ticket->Subject;
  my $stringend = index($comapreStr, "]") + 1;
  $subject = substr $comapreStr, $stringend;
  $subject = $subject . " Accepted";
}
$subject;
}

{$Transaction->Content()}

Thanks in advance for the help.

Thanks
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726  *  262-783-6261 ext. 2296
bbaker at copesan.com<mailto:bbaker at copesan.com>
www.copesan.com<http://www.copesan.com/>
"Servicing North America with Local Care"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150630/406a6001/attachment.htm>


More information about the rt-users mailing list