Try this:
my $myContent = "Hello";
# Create a mime object to tell RT that the comment will be an HTML comment.
my $mimeObj = MIME::Entity->build(
Type => "text/html",
Charset => 'UTF-8',
Data => $myContent
);
$self->TicketObj->Comment(MIMEObj => $mimeObj);
--
View this message
Hi Armen,
On Thu, Sep 24, 2015 at 2:00 PM, Armen Tashjian wrote:
> Hello,
>
>
>
> I am trying to add a comment as a scrip with some html tags. For example:
>
>
>
> $self->TicketObj->Comment(Content=> “Hello”,
> Type=>'text/html');
>
>
>
> The “Type” parameter does not