Hi,
I would like to ask if it is possible to easily assign an email to a given category? I am using the pop3 function and it works great. I have read previous threads.
I edit file pipe_functions.inc.php
Code: Select all
$tmpvar['to_email'] = hesk_validateEmail($results['to'][0]['address'],'ERR',0);
if ($tmpvar['to_email'] == "support1@domain.com") {
$set_category =1;
} else if ($tmpvar['to_email'] == "support2@domain.com") {
$set_category = 2;
} else {
$set_category = 3;
}