E-mail piping: Reply will create new ticket everytime
Posted: Tue Mar 12, 2019 8:31 am
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: "When replying new ticket is created" and "reply will create new ticket"
Write your message below:
Hi guys,
I hope you can help me with this. I'm totally new with Hesk helpdesk software and I was asked to solve this problem.
We have Email piping enabled and every time some user sends us an Email to a specific email address, HESK would create a new ticket. This is all fine.
Problem is, another ticket is created if someone is replying to all and that specific email address is included in the reply message. So we have all these opened tickets that are unnecessary.
I know I can merge tickets, but I want to get rid of this ticket creating.
I found one possible solution here, but I want to ask you guys if this could work.
Post by Klemen ยป Fri Jul 21, 2017, 7:46 am
Try this:
1. backup existing inc/pipe_functions.inc.php file
2. open the file in a powerful text editor that can properly encode files, such as Notepad++
3. Find line
CODE: SELECT ALL
// Process email message, convert to UTF-8
4. just ABOVE that line add
CODE: SELECT ALL
if (strpos($tmpvar['subject'], 'RE:') === 0)
{
return hesk_cleanExit();
}
5. save, upload and test
So the idea is, that it won't create a new ticket if the subject contains "RE:"
I will be grateful for any help.
Thanks in advance and have a nice day,
Simon
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: "When replying new ticket is created" and "reply will create new ticket"
Write your message below:
Hi guys,
I hope you can help me with this. I'm totally new with Hesk helpdesk software and I was asked to solve this problem.
We have Email piping enabled and every time some user sends us an Email to a specific email address, HESK would create a new ticket. This is all fine.
Problem is, another ticket is created if someone is replying to all and that specific email address is included in the reply message. So we have all these opened tickets that are unnecessary.
I know I can merge tickets, but I want to get rid of this ticket creating.
I found one possible solution here, but I want to ask you guys if this could work.
Post by Klemen ยป Fri Jul 21, 2017, 7:46 am
Try this:
1. backup existing inc/pipe_functions.inc.php file
2. open the file in a powerful text editor that can properly encode files, such as Notepad++
3. Find line
CODE: SELECT ALL
// Process email message, convert to UTF-8
4. just ABOVE that line add
CODE: SELECT ALL
if (strpos($tmpvar['subject'], 'RE:') === 0)
{
return hesk_cleanExit();
}
5. save, upload and test
So the idea is, that it won't create a new ticket if the subject contains "RE:"
I will be grateful for any help.
Thanks in advance and have a nice day,
Simon