[Solved] OTRS API - HTML Body possible?

Moderator: crythias

Post Reply
Snowmanko
Znuny newbie
Posts: 59
Joined: 06 Mar 2015, 17:45
Znuny Version: 6.0.5-1

[Solved] OTRS API - HTML Body possible?

Post by Snowmanko »

Hi,
is it possible to inject HTML into body section of OTRS API while using TicketCreate function ?
When I am trying to create ticket with HTML body through API it acts as plaintext and I see HTML tags in body of created ticket.

Thanks.
BR!
Last edited by Snowmanko on 12 Jul 2019, 16:31, edited 1 time in total.
OTRS 6.0.3-1, MySQL
alexus
Znuny wizard
Posts: 380
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: OTRS API - HTML Body possible?

Post by alexus »

Hi.

Could you please show request content
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
skullz
Znuny superhero
Posts: 618
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: OTRS API - HTML Body possible?

Post by skullz »

ContentType => 'text/plain; charset=ISO-8859-15',

To

ContentType => 'text/html; charset=utf-8',
Snowmanko
Znuny newbie
Posts: 59
Joined: 06 Mar 2015, 17:45
Znuny Version: 6.0.5-1

Re: OTRS API - HTML Body possible?

Post by Snowmanko »

Thanks, it worked.
OTRS 6.0.3-1, MySQL
Post Reply