Page 1 of 1

Set piped ticket category based on email address?

Posted: Wed May 28, 2014 4:22 pm
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.

Re: Set piped ticket category based on email address?

Posted: Thu May 29, 2014 2:39 pm
by Klemen

Re: Set piped ticket category based on email address?

Posted: Mon Jun 02, 2014 8:11 am
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.

Re: Set piped ticket category based on email address?

Posted: Mon Jun 02, 2014 4:23 pm
by Klemen
Works for me, did you change the respective code in "inc/pipe_functions.inc.php" ?

Re: Set piped ticket category based on email address?

Posted: Thu Jun 05, 2014 10:43 am
by Tinydan
All sorted. Thanks for your help Klemen