Hi.
In a new fresh installation of Hesk 3.1.0 the email tag %%ID%% prints sequential ticket ID appears ok in the email body but not in the subject where it shows like [#%%ID%%]
The language filles for the EMAIL SUBJECTS were updated with the %%ID%% and have already tried removing the brackets and the # but it does not change.
Anything else that i need to change?
Rgds
Rebelo
3.1.0 - %%ID%% in email subject
Moderator: mkoch227
Re: 3.1.0 - %%ID%% in email subject
%%ID%% was never supported in email subjects, only %%TRACK_ID%% for the unique tracking code.
You will need to manually add %%ID%% if you need it. In /inc/email_functions.inc.php inside the hesk_getEmailSubject function you will need to add something like $msg = str_replace('%%ID%%', $ticket['id'], $msg); before the last return $msg; in this function.
You will need to manually add %%ID%% if you need it. In /inc/email_functions.inc.php inside the hesk_getEmailSubject function you will need to add something like $msg = str_replace('%%ID%%', $ticket['id'], $msg); before the last return $msg; in this function.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: 3.1.0 - %%ID%% in email subject
Tks Klemen.
Made the addition in /inc/email_functions.inc.php and it works.
The setback is when someone answer the ticket from the email program it creates a brand new ticket.
And i made sure the sender email address is the same as the original ticket.
Just leave it, will change it to %%TRACK_ID%% again.
Keep safe
Rebelo
Made the addition in /inc/email_functions.inc.php and it works.
The setback is when someone answer the ticket from the email program it creates a brand new ticket.
And i made sure the sender email address is the same as the original ticket.
Just leave it, will change it to %%TRACK_ID%% again.
Keep safe
Rebelo
Re: 3.1.0 - %%ID%% in email subject
For email replies to work the %%TRACK_ID%% must be used.
If Hesk used simple sequential IDs it would be easy to add false replies.
If Hesk used simple sequential IDs it would be easy to add false replies.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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