[rt-users] Scrip Help
Kimberly McKinnis
kmckinnis at tivo.com
Wed Jun 10 20:57:24 EDT 2009
What if you put in something to pull info from the headers? I have a line in a scrip that determines which support account an email was sent to. It's empty if the ticket was sent through the GUI.
my $to = $self->TransactionObj->Attachments->First->GetHeader('To');
$RT::Logger->debug("To email was: $to");
.
.
.
________________________________
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Aaron Guise
Sent: Wednesday, June 10, 2009 5:47 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Scrip Help
Hi,
Is it possible to differentiate via Scrip whether a ticket is created via the RT Gui or an email being sent? I cannot seem to come up with something concrete that works just yet.
Regards,
Aaron Guise
[http://www.guise.net.nz/images/signatures/mob.gif]027 212 6638
[http://www.guise.net.nz/images/signatures/email.gif]aaron at guise.net.nz<mailto:aaron at guise.net.nz>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090610/f7cc26a3/attachment.htm>
More information about the rt-users
mailing list