Version of script: 2.2
Write your message below:
I love love love Hesk.
Used the last version for years and loved it, and now I love 2.2. Thanks so much for all your work.
I would want that every email of notification sent to the customer arrives also to all the members of the staff, therefore to every answer. Currently if the staff it answers it only arrives to the customer.
Thanks again.
email of notification every to staff
Moderator: mkoch227
Re: email of notification every to staff
Thanks for the kudos.
For the second part, this might be a bit tricky. If I understood correctly, see if this works for you:
1. open admin/admin_reply_ticket.php in Notepad
2. just ABOVE add this
I haven't tested it so make sure you backup existing files.
For the second part, this might be a bit tricky. If I understood correctly, see if this works for you:
1. open admin/admin_reply_ticket.php in Notepad
2. just ABOVE
Code: Select all
/* Send e-mail */
Code: Select all
$admins=array();
$sql = "SELECT `email`,`isadmin`,`categories` FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."users` WHERE `notify_new_unassigned`='1'";
$result = hesk_dbQuery($sql);
while ($myuser=hesk_dbFetchAssoc($result))
{
/* Is this an administrator? */
if ($myuser['isadmin'])
{
$admins[]=$myuser['email'];
continue;
}
/* Not admin, is he allowed this category? */
$myuser['categories']=explode(',',$myuser['categories']);
if (in_array($tmpvar['category'],$myuser['categories']))
{
$admins[]=$myuser['email'];
continue;
}
}
if (count($admins)>0)
{
$orig_email.=','.implode(',',$admins);
}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: email of notification every to staff
hello,
.. not work ..
I reassume...
I wanted that when a member of the staff answers an email besides the customer to all the members of the staff arrived.. every.
.. not work ..
I reassume...
I wanted that when a member of the staff answers an email besides the customer to all the members of the staff arrived.. every.