Simple Mail Function

Mail function is sending the email, but is not including the fields.

<form action="send_contact.php" enctype="text/plain" method="post">
                            <div class="col-1">
                                Enter Name:
                                <div class="rowElem"><input type="text" id="name" name="name"/></div>
                                Enter Email:
                                <div class="rowElem"><input type="email" id="customer_mail" name="customer_mail"/></div>
                            </div>
                            <div class="col-2">
                                Enter Message:<br />
                                <textarea class="textarea" rows="40" cols="30" id="detail" name="detail"></textarea>
								<br />
                                     <input type="submit" value="Send">
<?php
// Contact subject
$subject ="Contact Request via My Marketing Solutions website";
//Details
$message=$detail;

// Mail of sender
$mail_from=$customer_mail;
// From
$header="from: $name <$mail_from>";

// Enter your email address
$to ='reldridge@fpmsi.com';

$send_contact=mail($to,$subject,$message,$header);

// Check, if message sent to your email
// display message "We've recived your information"
if($send_contact){
echo "Thank you, for contacting My Marketing Solutions!";
}
else {
echo "ERROR";
}
?>

Thank you - I will fix this so that it correctly pulls from the form.

Where do you define $detail?

It looks like you’re trying to use register_globals, which is disabled by default. You need to access your form variables by using $_POST[‘fieldnamehere’]