updated stripQuotedText to also strip quoted mail header
Posted: Sat Oct 29, 2016 10:05 pm
Hi,
I'm using Hesk with mike-koch's mods-for-hesk and made a fix. He suggested to post it here too.
Ticket replies imported from email kept the previous mail header in the answer text. This change looks for the header with a regex and if it is before the "do-not-remove" line, cuts there. It may not always work, because the header depends on the mail client.
https://github.com/mike-koch/Mods-for-H ... 7f16a4599f
I'm using Hesk with mike-koch's mods-for-hesk and made a fix. He suggested to post it here too.
Ticket replies imported from email kept the previous mail header in the answer text. This change looks for the header with a regex and if it is before the "do-not-remove" line, cuts there. It may not always work, because the header depends on the mail client.
https://github.com/mike-koch/Mods-for-H ... 7f16a4599f