Hesk tool - EMail to ticket converting issue

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Rajesh
Posts: 5
Joined: Fri Jul 26, 2024 7:06 am

Hesk tool - EMail to ticket converting issue

Post by Rajesh »

In Hesk tool we need some suggestions,

In Email to ticket converting: if client send an E-mail to our help-desk mail to create a ticket , its creating ticket fine.
Then client received acknowledged mail with track id. If client replies on that same mail, same track id getting updated.

if any other persons of our team mates replies on that same acknowledged mail, new ticket getting created instead of updating on same tracking ID.

any solution can you provide?
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk tool - EMail to ticket converting issue

Post by Klemen »

To be considered a reply and not a new ticket, Hesk looks for two things:

1. it needs to find the ticket tracking ID in the email subject: [#%%TRACK_ID%%]

2. the "from" email needs to be the same as the email address that was used to submit the ticket. For example, if ticket was submitted by one@exmaple.com and reply comes from two@example.com it will create a new ticket.

If you want to remove condition under 2., you will need to edit file /inc/pipe_functions.inc.php and delete/comment this code from the file:

Code: Select all

	        // Do email addresses match?
	        if ( strpos( strtolower($ticket['email']), strtolower($tmpvar['email']) ) === false )
	        {
	        	$tmpvar['trackid'] = '';
	        }
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Rajesh
Posts: 5
Joined: Fri Jul 26, 2024 7:06 am

Re: Hesk tool - EMail to ticket converting issue

Post by Rajesh »

Now working fine. Thank you for your prompt response. :D :D :D :D
Ayon
Posts: 4
Joined: Tue Feb 13, 2024 7:08 pm

Re: Hesk tool - EMail to ticket converting issue

Post by Ayon »

Why didn't I think about that before? I have suffered from this shortcoming for a long time. In my case, the replies are working OK. It is when the persons CC'd do a reply to the original email that it creates a new ticket. I have not tested this hack yet, but logically it should work as a temporary fix. The danger is that someone can spoof it with a counterfeit matching the original emailer.

Thank you.
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk tool - EMail to ticket converting issue

Post by Klemen »

They would still need to know the correct ticket tracking ID to submit a reply, so it's hard to spoof, but matching email is an extra layer of protection.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply