[rt-users] OnCreate insert a comment IN the ticket?
Paul Tomblin
ptomblin at xcski.com
Tue Sep 4 15:10:09 EDT 2012
On Tue, Sep 4, 2012 at 3:05 PM, Jeff Blaine <jblaine at kickflop.net> wrote:
> my $ticket = $self->TicketObj;
> $ticket->Comment(content => "blah!");
my $mimeObj = MIME::Entity->build(
Type => 'multipart/mixed',
'Message-Id' => RT::Interface::Email::GenMessageId,
Subject => $subject,
);
$mimeObj->attach(
Type => "text/plain",
Charset => 'UTF-8',
Data => $summary
);
$mimeObj->make_singlepart;
$ticketObj->Comment(MIMEObj => $mimeObj);
--
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
More information about the rt-users
mailing list