Set piped ticket category based on email address?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Tinydan
Posts: 29
Joined: Wed Nov 06, 2013 2:09 pm

Set piped ticket category based on email address?

Post by Tinydan »

Script URL:
Version of script: 2.5.2
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Pipe, category, category based on email

Write your message below:

I've got a question that I hope isn't outlandish and can be implemented. Essentially I have alerts coming from several servers into our hesk system that I'd like to have a category assigned from them. As there is no bulk category move function I'd like to try an implement a filter that will set the category of a ticket based on the email address coming in.

I imagine this would be done in the email_functions.inc.php file but all my attempts at an if statement that sets the category based on the address have turned up nothing. Has anyone managed this before? It'd be really handy and save my a lot of effort moving tickets each day.
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Set piped ticket category based on email address?

Post by Klemen »

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
Tinydan
Posts: 29
Joined: Wed Nov 06, 2013 2:09 pm

Re: Set piped ticket category based on email address?

Post by Tinydan »

Hmm Tired it but doesn't seem to want to work... Its defaulting to category 1 rather than setting itself to category 5 as I'm asking it to with {CATEGORY=5} in the message body.
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Set piped ticket category based on email address?

Post by Klemen »

Works for me, did you change the respective code in "inc/pipe_functions.inc.php" ?
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
Tinydan
Posts: 29
Joined: Wed Nov 06, 2013 2:09 pm

Re: Set piped ticket category based on email address?

Post by Tinydan »

All sorted. Thanks for your help Klemen
Post Reply