Notification list when someone "important" submits a ticket

Everything related to Hesk - helpdesk software

Moderator: mkoch227

Post Reply
mingt
Posts: 11
Joined: Wed Nov 30, 2011 11:56 pm

Notification list when someone "important" submits a ticket

Post 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
Klemen
Site Admin
Posts: 10174
Joined: Fri Feb 11, 2005 4:04 pm

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

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
mingt
Posts: 11
Joined: Wed Nov 30, 2011 11:56 pm

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

Post by mingt »

Thanks
xyzzy
Posts: 9
Joined: Thu Jun 14, 2012 11:38 pm

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

Post 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 :)
Klemen
Site Admin
Posts: 10174
Joined: Fri Feb 11, 2005 4:04 pm

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

Post by Klemen »

Yes, you will need to modify the source.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
xyzzy
Posts: 9
Joined: Thu Jun 14, 2012 11:38 pm

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

Post 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
rgaspar
Posts: 11
Joined: Thu Nov 22, 2012 6:52 pm

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

Post 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,
========================
Ricardo Gaspar
Klemen
Site Admin
Posts: 10174
Joined: Fri Feb 11, 2005 4:04 pm

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

Post by Klemen »

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 Image

Image 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
Post Reply