Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

[resolved] API html format

What is the correct way of sending html messages in API. The data:text/html;charset=utf-8 is not working. I am using osTicket Version v1.10 (901e5ea). Thanks
$data = array(
"alert" => true,
"autorespond" => false,
'name' => 'Support', // from name aka User/Client Name
'email' => $email, // from email aka User/Client Email
'subject' => $subject, // test subject, aka Issue Summary
"source" => "API",
'message' => "data:text/html;charset=utf-8,$message" // test ticket body, aka Issue Details.
);
Tagged:

Comments

This discussion has been closed.