Page 1 of 1

Notification list when someone "important" submits a ticket

Posted: Thu Jan 26, 2012 5:12 pm
by mingt
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

Re: Notification list when someone "important" submits a tic

Posted: Fri Jan 27, 2012 2:56 pm
by Klemen
You can add something like this to the "submit_ticket.php" file (open it in Notepad).

Just below

Code: Select all

} // END not autoassign
add

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);
Separate emails with comma, no spaces.

Quick and dirty, but should work.

Re: Notification list when someone "important" submits a tic

Posted: Mon Jan 30, 2012 8:21 pm
by mingt
Thanks

Re: Notification list when someone "important" submits a tic

Posted: Thu Jun 14, 2012 11:42 pm
by xyzzy
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 :)

Re: Notification list when someone "important" submits a tic

Posted: Fri Jun 15, 2012 2:30 pm
by Klemen
Yes, you will need to modify the source.

Re: Notification list when someone "important" submits a tic

Posted: Sat Jun 16, 2012 4:53 am
by xyzzy
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

Re: Notification list when someone "important" submits a tic

Posted: Thu Feb 21, 2013 4:26 pm
by rgaspar
Klemen wrote:You can add something like this to the "submit_ticket.php" file (open it in Notepad).

Just below

Code: Select all

} // END not autoassign
add

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);
Separate emails with comma, no spaces.

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,

Re: Notification list when someone "important" submits a tic

Posted: Fri Feb 22, 2013 5:10 pm
by Klemen
You can add it just ABOVE this:

Code: Select all

// Next ticket show suggested articles again