Page 1 of 1

How Notify admins

Posted: Mon Mar 04, 2019 9:10 am
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

Re: How Notify admins

Posted: Mon Mar 04, 2019 10:10 am
by Klemen
Change $owner['email'] to the email address of admin, for example:

Code: Select all

hesk_mail('admin@example.com', $subject, $message);