My ticket emails contain HTML code

In some earlier versions of hostware, the outgoing emails from hostware when answering a ticket can contain html code. The fix is a small change in the email templates of hostware.

Navigate to Settings > Email Templates and edit both templates "Ticket Created Admin" and "Ticket Answered".

In the tab "text snippets", wou will propably somewhere find the following string to output the ticket message:

{{ $ticketMessage->message }}

This must be changed to the following:

Essentially change {{ to {!! and }} to !!} to enable HTML output. After this change, the mail contain HTML code.

Last updated

Was this helpful?