Email replies absorption into current tickets.

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
VidiotsAGL
Posts: 5
Joined: Fri Jun 23, 2023 10:11 pm

Email replies absorption into current tickets.

Post by VidiotsAGL »

Script URL:
Version of script: 3.4.3
Hosting company: local / internal access only
URL of phpinfo.php: local /internal access only
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
"email replies" to which this was the response:

The following words in your search query were ignored because they are too common words: reply email.
You must specify at least one word to search for. Each word must consist of at least 3 characters and must not contain more than 14 characters excluding wildcards.



Write your message below:

i'm trying to determine the process for absorbing email chains and replies into tickets.
I've tried putting [#ticket number] in the subject with and without RE: before it and it creates a ticket.

But if I reply to a ticket that came from the ticketing emailer, even though the subject appears to be identical, THEN it will absorb into the ticket and not create a new one.

is there a detailed explanation of how to properly reply to an email into a ticket?
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email replies absorption into current tickets.

Post by Klemen »

Two "if"s need to be satisfied for the reply to be detected (and not created a new ticket).

1. ticket tracking ID must be in the subject line (like "[#XXX-XXX-XXXX]"), AND
2. email must come from the same person who submitted the ticket

If you have the ID in the subject line then you are probably failing at 2. above?

If the ticket as created by john@doe.com then only emails from john@doe.com will be allowed to reply.

Note that staff members must always use the web interface to reply, only customers can reply via email.
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
VidiotsAGL
Posts: 5
Joined: Fri Jun 23, 2023 10:11 pm

Re: Email replies absorption into current tickets.

Post by VidiotsAGL »

understood.
Thank you!
VidiotsAGL
Posts: 5
Joined: Fri Jun 23, 2023 10:11 pm

Re: Email replies absorption into current tickets.

Post by VidiotsAGL »

after collaboration with the people i'm working with, i think this isn't going to work out if the only person that can email/reply without creating a new ticket is the one customer deemed as owner of ticket.

is it deeply/complicated rolled into the code where a modification to it would be challenging to enable any email reply, so long as the subject is correct, is included in a ticket?
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email replies absorption into current tickets.

Post by Klemen »

You can change that in file /inc/pipe_functions.inc.php

1. open it in Notepad++ or some other powerful text editor (do not use Microsoft Notepad)
2. find this code

Code: Select all

if ( strpos( strtolower($ticket['email']), strtolower($tmpvar['email']) ) === false )
3. change it to this, so it never returns true:

Code: Select all

if (1 == 2)
4. save, upload and test

Notes:

1. Admin replies will still not be tracked properly unless they are submitted through the web interface.
2. You should enable "Multiple emails: Allow customers to enter multiple contact emails" in admin > Settings > Emails
3. Not sure if future updates will break this functionality or cause new problems
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
VidiotsAGL
Posts: 5
Joined: Fri Jun 23, 2023 10:11 pm

Re: Email replies absorption into current tickets.

Post by VidiotsAGL »

Thank you!
I appreciate the work you put into this.
I'll take a look and do some testing.
Post Reply