Notifications
Posted: Thu Jul 31, 2014 3:57 pm
is there a way to turn off email notifications on a new PIPED email only from POP3?
Code: Select all
define('POP3',1);
Code: Select all
hesk_notifyCustomer();
Code: Select all
if ( ! defined('POP3') )
{
hesk_notifyCustomer();
}
Code: Select all
if ($tmpvar['owner'] && $autoassign_owner['notify_assigned'])
{
hesk_notifyAssignedStaff($autoassign_owner, 'ticket_assigned_to_you');
}
// --> No autoassign, find and notify appropriate staff
elseif ( ! $tmpvar['owner'] )
{
hesk_notifyStaff('new_ticket_staff', " `notify_new_unassigned` = '1' ");
}
Code: Select all
if ( ! defined('POP3') )
{
if ($tmpvar['owner'] && $autoassign_owner['notify_assigned'])
{
hesk_notifyAssignedStaff($autoassign_owner, 'ticket_assigned_to_you');
}
// --> No autoassign, find and notify appropriate staff
elseif ( ! $tmpvar['owner'] )
{
hesk_notifyStaff('new_ticket_staff', " `notify_new_unassigned` = '1' ");
}
}