Desperate help needed...
I am a php beginner, and been trying endlessly to have "POP3 fetching" auto assign the category depending on the email address of the sender.
I have created a few general categories, however, am wanting a few select senders to have their tickets auto assigned to the category of choice.
In the file hesk_pop3.php under the section "optional modifications" it allows to set the category ticket is assigned to.
Code: Select all
// Set category ID where new tickets will be submitted to
$set_category = 1;
for egsample
Code: Select all
if ($sender_email == "info@domain.com" ) {
$set_category = 4;
}else {
$set_category = 1;
}
Please can you help me achieve this.
The category will always be default to "1", but the select few email address's would go to various category as defined.
PLEASE PLEASE HELP!!
clint