# 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="https://1141670261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHupRK3qVDTomY8g3pcFA%2Fuploads%2FqkIhn3JqSWjPWQHmeaSU%2Fimage.png?alt=media&#x26;token=a279686f-89c3-4edc-ba77-e6d94627c053" 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.
