Hi Everyone,

Does anyone know how to get the headers from Email created tickets ?

When any ticket is created by Emailing into RT we see a header nicely
presented at the start of the ticket, something like this.

Wed Mar 28 12:17:08 2007 sgolby - Ticket created    
Subject: Test 204 
Date: Wed, 28 Mar 2007 12:16:51 -0400 
To: <[EMAIL PROTECTED]> 
From: "Scott Golby" <[EMAIL PROTECTED]> 


I need to extract the To: to use it with classifying the requests.

If I use {$Transaction->ContentObj->Headers} on a Plain Text email I get
the To: in the list of stuff recorded.  If I do it on a HTML Email
(which is 99% of what we get) I get just 3 lines :-

Header : content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: us-ascii

The To: is obviously in there somewhere, almost every RT Ticket displays
it as most are created via Email here.   So, how do I get it out at
Ticket Create time ?

Thanks,
Scott


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Reply via email to