[rt-users] Extracting data from "create" e-mail
Roy El-Hames
rfh at pipex.net
Fri Mar 16 11:09:28 EDT 2007
Gene;
$self->TransactionObj->Content may help you .
Roy
Joe Casadonte wrote:
> On 3/15/2007 12:21 PM, Gene LeDuc wrote:
>
>> When an e-mail creates a new ticket in a specific queue I'd like to
>> populate some custom fields in the ticket with data extracted from
>> the e-mail body. I think the best way to do this is with a scrip
>> that fires on ticket creation in this queue. Is there a variable I
>> can parse that holds the body of the e-mail?
>
> The body of the email is included as an attachment to the ticket, and
> you should have a ticket object available in the action part of the
> scrip, so you should be able to get to it that way. Check out the
> Ticket.pm and Ticket_Overlay.pm files for info on the Ticket API.
>
More information about the rt-users
mailing list