Page 1 of 1
Customise Email messages
Posted: Wed Feb 01, 2006 12:23 pm
by char1iecha1k
Hi
I would like to customize the emails a bit. I would like to have the subject of the ticket in the subject of the email followed by the support id. I know a little php, can anyone help!
thanks in advance
Posted: Wed Feb 01, 2006 12:29 pm
by Klemen
Check inside submit_ticket.php
Posted: Wed Feb 01, 2006 2:15 pm
by char1iecha1k
for info i replaced
@mail($email,$hesklang['new_ticket_submitted'],$message,$headers);
with
@mail($email,"New ticket: " . $trackingID . " - " . $subject,$message,$headers);
and
@mail($email,$hesklang['ticket_received'],$message,$headers);
with
@mail($email,"Your ticket: " . $trackingID . " has been submitted",$message,$headers);
and in reply_ticket
@mail($email,$hesklang['new_reply_ticket'],$message,$headers);
with
@mail($email,"Reply to Ticket: " . $trackingID,$message,$headers);
Posted: Wed Feb 01, 2006 3:32 pm
by char1iecha1k
There is one more i wish to modify but i cant find it, it isn the subject header of the email the client recieves when a member of staff updates the ticket. It currently says in the subject "new reply to your support ticket".
where has it gone :/
Posted: Wed Feb 01, 2006 4:53 pm
by Klemen
How about admin_reply_ticket.php

Posted: Thu Feb 02, 2006 12:17 pm
by char1iecha1k
Thanks, I think I found just after posting :/
very nice script.