add customer name too in each email-subject

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
agi
Posts: 4
Joined: Thu May 15, 2014 10:43 pm

add customer name too in each email-subject

Post by agi »

How can i add customer name too in each email-subject
I have tried with %%NAME%% in text.php but it doesnt work. Is there any ideas?
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: add customer name too in each email-subject

Post by Klemen »

You will need to modify file inc/email_functions.inc.php

1. Find the first occurrence of this code inside:

Code: Select all

%%STATUS%%
2. Below line with that code add

Code: Select all

$msg = str_replace('%%NAME%%', $ticket['name'], $msg);
3. Save and upload to the server

Email subjects should then support the %%NAME%% tag.
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
agi
Posts: 4
Joined: Thu May 15, 2014 10:43 pm

Re: add customer name too in each email-subject

Post by agi »

It works fine. Thank You very much. :D
Post Reply