any help on assigning user on ticket created from e-mail?
Posted: Sun Sep 29, 2013 7:55 am
Need just some direction on modifying logic of pipe_functions.inc.php
If I modify that 0 to a specific user ID, it works and tickets are assigned to that user. I need it to work like this
I couldn't think of any similar query that exists in hesk I could steal this from..
Basically I've already modified the customer name and e-mail on ticket to be set as the TO: from the e-mail sent to hesk. Now I want the ticket to get assigned to the users e-mail it came FROM:. Any help much appreciated.. I will be digging on this for the next few weeks.
How I want my e-mail piping to work is (User sends response to customer and BCCs hesk pop account. This way when the staff sends a response, a ticket is generated for that end user and assigned to the particular staff member in hesk.
Code: Select all
// Auto assign tickets if aplicable
$tmpvar['owner'] = 0;
Code: Select all
// Auto assign tickets if aplicable
$tmpvar['owner'] = If FROM e-mail address matches hesk_users.e-mail set corresponding to their user id;
Basically I've already modified the customer name and e-mail on ticket to be set as the TO: from the e-mail sent to hesk. Now I want the ticket to get assigned to the users e-mail it came FROM:. Any help much appreciated.. I will be digging on this for the next few weeks.
How I want my e-mail piping to work is (User sends response to customer and BCCs hesk pop account. This way when the staff sends a response, a ticket is generated for that end user and assigned to the particular staff member in hesk.