Thank you for your reply. I have created the scrip as you suggested but there is no impact and subject line is still the same. Any suggestions please?
AtifFrom: rt-users [mailto:firstname.lastname@example.org] On Behalf Of Landon Stewart
Sent: 13 November 2014 16:51
Subject: Re: [rt-users] how to allow subject line if update is from specific email address
We are using RT 4.2.1. How can we allow a specific email address to update the subject line of ticket in any queue. Any suggestions please?
We do this using a scrip (in this case it’d be a global scrip). Update it with the email address in question.
Action: (User defined)
my $attachments = $self->TransactionObj->Attachments;
$attachments->Columns( qw(id Headers Subject) );
my $attachment = $attachments->First;
return 0 unless $attachment;
return 0 unless $self->TicketObj->IsWatcher( Type => ‘Requestor’, Email => ‘email@example.com:firstname.lastname@example.org’ );
my $subject = $attachment->GetHeader(‘Subject’);
return 0 unless $subject;
Global template: Blank
Eckoh UK Limited
Telford House, Corner Hall
Hemel Hempstead, Hertfordshire HP3 9HN
T 01442 458336
11811 N. Tatum Blvd., Suite 3031
Phoenix, AZ 85028
This communication contains information, which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s) only. If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and then delete it. Opinions expressed in this message are those of the author, and are not binding on the company.
Registered in England and Wales, No. 2796531
Registered office: Telford House, Corner Hall, Hemel Hempstead, Hertfordshire HP3 9HN
A member of the Eckoh Plc group of companies.