View Single Post
Old 01-07-2013, 04:34 PM   PM User | #8
codernoob
New Coder

 
Join Date: Sep 2012
Posts: 26
Thanks: 17
Thanked 0 Times in 0 Posts
codernoob is an unknown quantity at this point
Thank ya fellas,

I fixed it with some slight changes
Here is the code:

Code:
$formcontent=" From: \n $title $name \n Email: $email \n Phone: $phone \n Message: $message";
$headers = 'From: '.$email."\r\n".
'Reply-To: '.$email."\r\n" .
'X-Mailer: PHP/' . phpversion();
@mail($recipient, $subject, $formcontent, $headers);  
{
header('location:thanks.html');
}
?>
Cheers!
codernoob is offline   Reply With Quote