I have a PHP file that is taking care of my email processes. The thing that I want to change is who the email is sent from when submitted. At present, the email is sent from the users email address that is inputed into the form. I want the "from" part of the email to be generic - ie "how1@etcetc.co.uk.
How do I do this? ? ? The code is below.
$subject="How much - Company Pension Enquiry";
/***********************************************/
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
$headers .= 'From:'.$Email . "\r\n";
Many thanks in advance.
Page 1 of 1
From section of php email handler Generic "from" address instead of users submitted email address.
#2
Posted 05 August 2009 - 01:33 PM
$headers .= 'From:'.$Email . "\r\n";
Change the
Darren
Share this topic:
Page 1 of 1
Help















