Is it possible to create a special notification list whenever a ticket is submitted by a (or a group) of "important" people?
Thanks
Ming Tan
Notification list when someone "important" submits a ticket
Moderator: mkoch227
Re: Notification list when someone "important" submits a tic
You can add something like this to the "submit_ticket.php" file (open it in Notepad).
Just below add
Separate emails with comma, no spaces.
Quick and dirty, but should work.
Just below
Code: Select all
} // END not autoassign
Code: Select all
$notify='one@one.com,two@two.com,three@three.com';
$msg = hesk_getEmailMessage('new_ticket_staff',$ticket,1);
hesk_mail($notify,$hesklang['new_ticket_submitted'],$msg);
Quick and dirty, but should work.
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: Notification list when someone "important" submits a tic
Ok i need to mail "email@domain.com" when a new ticket is posted, is this the way i should try ?
Is there any option i missed to do this without edit source ?
Thanks
Is there any option i missed to do this without edit source ?
Thanks

Re: Notification list when someone "important" submits a tic
Yes, you will need to modify the source.
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: Notification list when someone "important" submits a tic
I have found "A new ticket is submitted with owner: Unassigned" option in profile setting also may help if the mail is belong to one of the staff.
Thanks
Thanks
Re: Notification list when someone "important" submits a tic
===============================================Klemen wrote:You can add something like this to the "submit_ticket.php" file (open it in Notepad).
Just belowaddCode: Select all
} // END not autoassign
Separate emails with comma, no spaces.Code: Select all
$notify='one@one.com,two@two.com,three@three.com'; $msg = hesk_getEmailMessage('new_ticket_staff',$ticket,1); hesk_mail($notify,$hesklang['new_ticket_submitted'],$msg);
Quick and dirty, but should work.
Hello, i have hesk v2.4.1 and cannot have End not autoassign in file Submite_ticket.php.
What is the line that I insert the code?
Regards,
========================
Ricardo Gaspar
Ricardo Gaspar
Re: Notification list when someone "important" submits a tic
You can add it just ABOVE this:
Code: Select all
// Next ticket show suggested articles again
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