Hey, I have here a formmail.php that was helped written by
sirjwtheblack
THe problem? It comes out like this (ESPECIALLY when I filled
out the form at http://www.navoting.com/registeration.html)
Date: 6 Oct 2004 22:30:06 -0000
From: admin@unixplesk1.nexpoint.net
To: registration@navoting.com
Subject: Mail from Native American Project Registration
Name:
Tribal Affiliation:
Title:
Address:
City:
State:
Zip Code:
Phone:
Mobile:
Fax:
email:
Formmail.php looks like this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<title>Form Submitted</title>
<style type="text/css">
<!--
.style1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 36px;
}
-->
</style></head>
<body>
<?php
$TextVariable = '&results=';
$response = 'Data Sent. Thank You.';
echo $TextVariable;
echo $response;
/* recipients */
$recipient .= "registration@navoting.com" ;
/* subject */
$subject = "Mail from Native American Project
Registration";
/* message */
$message .= "Name: $name
Tribal Affiliation: $tribe
Title: $title
Address: $address
City: $city
State: $state
Zip Code: $zip
Phone: $phone
Mobile: $mobile
Fax: $fax
email: $email\n";
/* add as many lines here as you have on your form.
$headers .= "From: $name <$email>\n";
/* and now mail it */
mail($recipient, $subject, $message, $headers);
?>
<p> </p>
<p align="center"><span
class="style1">Registration Submitted
</span></p>
<p align="center"><span
class="style1">Successfully!
</span></p>
<p align="center"> </p>
<p align="center">You will now be redirected
back to <a
href="http://www.navoting.com/registration.html">http://www.navoting.com/registration.html</a></p>
<p align="center"> </p>
</body>
</html>