# 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 }}
```

<figure><img src="/files/BtzIR5wyeMHFZSzNbtYn" alt=""><figcaption></figcaption></figure>

This must be changed to the following:

```
{!! $ticketMessage->message !!}
```

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hostware.io/support/troubleshooting-and-questions/my-ticket-emails-contain-html-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
