Hi all, As my first real RT project I need to write a Scrip to parse values out of an email at ticket creation time and set some Custom Fields. Because the data is structured (xml) it looks like "ExtractCustomFieldValues" probably isn't going to be up to the task.
It looks like getting the content/attachments in the Scrip is easy enough: my $xact = $self->TransactionObj; my $tkt = $self->TicketObj; my $cont = $xact->Content; my $atts = $tkt->attachments; my $iter = $attachments->get_iterator; while (my $att = &$iter) { my $acont = $att->content; ... } ... So my question is: How much decoding has been done on the content by the time I fetch it? For example, do I need to worry about stuff like mail sent with: Content-Transfer-Encoding: quoted-printable or Content-Transfer-Encoding: base64 or has that already been taken care of? Thanks, John ------------------------------------------------------------------------------- John Hascall, j...@iastate.edu Team Lead, NIADS (Network Infrastructure, Authentication & Directory Services) IT Services, The Iowa State University of Science and Technology _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com 2010 RT Training Sessions! San Francisco, CA, USA - Feb 22 & 23 Dublin, Ireland - Mar 15 & 16 Boston, MA, USA - April 5 & 6 Washington DC, USA - Oct 25 & 26 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com