Script URL:
Version of script: latest
Hosting company: ukfast.net
URL of phpinfo.php: http://www.aim-mktg.co.uk/php.php
URL of session_test.php: ???
What terms did you try when SEARCHING for a solution: email subject email headers
Write your message below:
I would like to add the title of the issue to the email header - this will help my customers in identifying which ticket has been responded to.
Sorry I could not find the session_test.php file
BTW this is a very good piece of work and I look forward to your reply
Thanks
adding title of the issue to the email header
Moderator: mkoch227
adding title of the issue to the email header
HAPPY USER OF HESK
This might be helpful:
viewtopic.php?t=1479&highlight=email+subject
viewtopic.php?t=1479&highlight=email+subject
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
putting subject of issue in the reply email from admin
Thanks for you reply.
It was fine for the email the admin receives but did not solve the problem of how to put the subject into the email from admin to THE CUSTOMER receives - this is far more critical for the customer as they do not have an admin page where they can look up their different tickets.
thinking that I could achieve this I tried modifying the code on the admin_reply_ticket.php but it did not work so can you help me solve this one please
here is what I tried:
@mail($orig_email,'[HESK] '.$subject,$message,$headers);
It was fine for the email the admin receives but did not solve the problem of how to put the subject into the email from admin to THE CUSTOMER receives - this is far more critical for the customer as they do not have an admin page where they can look up their different tickets.
thinking that I could achieve this I tried modifying the code on the admin_reply_ticket.php but it did not work so can you help me solve this one please
here is what I tried:
@mail($orig_email,'[HESK] '.$subject,$message,$headers);
HAPPY USER OF HESK
Try
Code: Select all
@mail($orig_email,'RE: '.$orig_subject,$message,$headers);
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
adding title of the issue to the email header
Sorry no beer yet for some reason it stubbornly insists on returning "your support ticket received" despite my changing the code as suggested.
Could you pls advise what I can do to get this working as it does work when it advises admin but not the customer.
Thanks a lot,
Could you pls advise what I can do to get this working as it does work when it advises admin but not the customer.
Thanks a lot,
HAPPY USER OF HESK
I think you have confused few things. Two files need editing:
1. submit_ticket.php
This one has TWO lines that start with @mail , you need to edit both using $subject variable to show the subject, for example change both lines to:
2. admin_reply_ticket.php
Has only one @mail line, subject is stored in $orig_subject variable. Change the line as suggested above:
1. submit_ticket.php
This one has TWO lines that start with @mail , you need to edit both using $subject variable to show the subject, for example change both lines to:
Code: Select all
@mail($email,'[HESK] '.$subject,$message,$headers);
Has only one @mail line, subject is stored in $orig_subject variable. Change the line as suggested above:
Code: Select all
@mail($orig_email,'RE: '.$orig_subject,$message,$headers);
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
works fine now need message details in the email body
Thanks a lot beer is on me it works fine now.
However I have just had another customer that has told me that they would prefer to track things in their email - fine by me but can you pls tell me what I do to add the actual message content into the body of the email.
Thanks a lot
However I have just had another customer that has told me that they would prefer to track things in their email - fine by me but can you pls tell me what I do to add the actual message content into the body of the email.
Thanks a lot
HAPPY USER OF HESK