Stripping Quoted Emails from Tickets
Emails piped into the support ticket system can sometimes be cluttered by the notification email being quoted in the reply.
WHMCS attempts to identify where the client's message end and the quoted text begins and strip it out. This is done by searching for the break line. This guide shows how to customise these break lines.
By default WHMCS will strip content from piped emails after the following strings:
- > -----Original Message-----
- ----- Original Message -----
- -----Original Message-----
- <!-- Break Line -->
- ====== Please reply above this line ======
Some email clients use different break line formats, these can be added so the quoted emails can be automatically stripped out too.
In this example we'll demonstrate how to stripe quoted emails when the break line matches
Execute this SQL command:
INSERT INTO `tblticketbreaklines` (`id`, `breakline`) VALUES (NULL, '*****');
1. Use a tool such as phpmyadmin to access your WHMCS MySQL database
2. Ticket Break Lines are stored in the tblticketbreaklines table
3. Click Insert
4. Enter the desired string to match into the breakline field. In this example we use
5. Click Go
Email content after the ***** string will now be stripped when piped into a support ticket.