Search our documentation...

Simply enter what you are looking for!

NOTICE: Our WHMCS Addons are discontinued and not supported anymore.
Most of the addons are now released for free in github - https://github.com/jetserver
You can download them from GitHub and conribute your changes ! :)

WHMCS Tickets Notes to Admins Email :: Installation

First, you will need to login to your client area and download your copy of “WHMCS Ticket Notes to Admins Email“.

From the client’s area left menu click “Services” -> “My Services“. Open the “View Details” box by click the arrow on the right, and click “Downloads“, in the following screen click the “Download” link.

Unzip the file, upload it to your WHMCS hooks folder (“includes/hooks“).

Setting variables

You can edit the hook file with your favorite text editor, and edit the settings –

/*********************
 Send Email To The Admin On Note Settings
*********************/
function serverSendEmailToTheAdminOnNote_settings()
{
	global $CONFIG, $customadminpath;

	return array(
		'apiuser' 		=> 'apiuser',
		'ticket_subject' 	=> 'Email subject goes here',
		'ticket_message'	=> 'Email body goes here',
	);
}
/********************/

Example usage –

apiuser – Any admin user name
ticket_subject – [Note ID: %2$s] New Support Ticket Note added for Ticket %1$s
%1$s – Ticket ID
%2$s – Note ID
ticket_message

This note added by %1$s (%2$s).

---

%4$s

---

You can view this ticket note through the admin area at the url below.

' . $CONFIG['SystemURL'] . '/' . ($customadminpath ? $customadminpath : 'admin') .
 '/supporttickets.php?action=viewticket&id=%3$s

%1$s – Admin Full Name
%2$s – Admin Username
%3$s – Ticket ID
%4$s – Note Content

The given example is used as the default settings.
If you want to leave it as is, just change the apiuser.