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-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Aaron Guise
Sent: Wednesday, June 10, 2009 5:47 PM
To: rt-users@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]aa...@guise.net.nz<mailto:aa...@guise.net.nz>


_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to