Script URL:
Version of script: 2.2
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: reply-to, header, reply-to header
Write your message below:
Hi there,
I would like to change the email header info in submit_ticket.php to be the email address of the person who submits the ticket for the email sent to staff. I have tried changing:
$headers.= "Reply-to: $hesk_settings[noreply_mail]\n";
to variations of:
$headers.= "Reply-to: $_POST['email']\n";
or:
$headers.= "Reply-to: $tmpvar['email']\n";
No luck so far, does anyone know if this can be done?
Many thanks in advance, James
Changing Reply-to email address
Moderator: mkoch227
Re: Changing Reply-to email address
This should work:
(note no single quotes around email)
Make sure you are editing the correct headers - they are set twice in the file, the second ones are the ones sent to staff.
Also, some servers don't allow modifying "From: " or "Reply-to:" headers for security (anti-spam) reasons.
Code: Select all
$headers.= "Reply-to: $tmpvar[email]\n";
Make sure you are editing the correct headers - they are set twice in the file, the second ones are the ones sent to staff.
Also, some servers don't allow modifying "From: " or "Reply-to:" headers for security (anti-spam) reasons.
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