How Notify admins

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
HeskPro
Posts: 6
Joined: Thu Sep 13, 2018 8:10 pm

How Notify admins

Post by HeskPro »

How Notify admins (user with all privileges) that a note has been added from assigned staff
I find php code in admin_ticket.php
/* Send email to staff */
hesk_mail($owner['email'], $subject, $message);
}

But I can send this to admin (user with all privileges)
How do it? Thank
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Re: How Notify admins

Post by Klemen »

Change $owner['email'] to the email address of admin, for example:

Code: Select all

hesk_mail('admin@example.com', $subject, $message);
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