Page 1 of 1

Custom Subject Email add %%name%% to special tags

Posted: Sat Mar 21, 2015 7:08 pm
by arcanisgk
i am using HESK 2.6.2

and i am try to insert %%NAME%% on the subjet of mail:

Code: Select all

// EMAIL SUBJECTS
$hesklang['new_ticket_staff']       = '[#%%TRACK_ID%%] de %%NAME%% Nuevo Ticket: %%SUBJECT%%';
$hesklang['ticket_received']        = '[#%%TRACK_ID%%] de %%NAME%% Ticket recibido: %%SUBJECT%%';
$hesklang['ticket_assigned_to_you'] = '[#%%TRACK_ID%%] de %%NAME%% Ticket asignado: %%SUBJECT%%';
$hesklang['new_reply_by_customer']  = '[#%%TRACK_ID%%] de %%NAME%% Nueva respuesta para: %%SUBJECT%%';
$hesklang['new_reply_by_staff']     = '[#%%TRACK_ID%%] de %%NAME%% Nueva respuesta para: %%SUBJECT%%';
$hesklang['category_moved']         = '[#%%TRACK_ID%%] de %%NAME%% Ticket movido: %%SUBJECT%%';
$hesklang['new_note']               = '[#%%TRACK_ID%%] de %%NAME%% Nota agregada a: %%SUBJECT%%';
$hesklang['new_pm']                 = 'Nuevo Mensaje privado: %%SUBJECT%%';
$hesklang['forgot_ticket_id']       = 'Lista de tus tickets de soporte';

and not work, thank to all help .

Re: Custom Subject Email add %%name%% to special tags

Posted: Sun Mar 22, 2015 12:15 am
by arcanisgk
Resolved, and you can edit the functions of email. inc/email_functions.inc

Should the administrator can add custom fields if you want to insert into the body of the message and the subject.

I'm trying to function in most email sent

Re: Custom Subject Email add %%name%% to special tags

Posted: Tue Aug 11, 2015 10:02 pm
by smegnl
Care to share more detail?