I have written several versions of my code and this is the closest that I have come in attempting to have my customer submit an email to me agreeing to my Terms and Conditions.
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex,nofollow">
<meta name="robots" content="noimageindex">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<meta name="description" content="">
<meta name="author" content="">
</head>
<body>
<p>
<p align="center"> Rental and Damage Liability Waiver
</p>
<br />
<p>I hereby agree that by renting any equipment from Sand Surfers, LLC, I accept liability for any<br />damages or injury that may occur while using any of the equipment- regardless of its condition- rented<br />from Sand Surfers, LLC By signing this agreement, I understand that I am waiving my right to bring a court of action to recover compensation or obtain any other remedy for any injury to myself, my<br />property, or my death, however, caused, arising out of my use of any equipment from Sand Surfers, LLC I understand that there are inherent risks associated with the activities offered by Sand Surfers, LLC including Onewheel electric skateboard use.
</p>
<p><br />I understand that equipment and safety devices are required for my use (such as a helmet). I understand that Sand Surfers, LLC, does not provide these items, and it is my responsibility to provide my own. I agree that I will be solely responsible for the proper use of safety and other equipment and procedures. It is my responsibility to inspect all equipment. I, the undersigned user-or guardian of user-HEREBY RELEASE on behalf of myself, my heirs, representatives, managers, successors, executors, and administrators of Sand Surfers, LLC its officers, agents, and employees from any cause of action, claims, or demands whatsoever including, but not limited to, a claim of negligence.
</p>
<p><br />I also agree that if the equipment is damaged, lost, or misplaced, that I rent from Sand Surfers, LLC, I will pay for the losses or damages. I agree that if Sand Surfers, LLC incurs any cost associated with recovery of payment for damages or losses (such as court costs, collection costs and/or attorney costs) that I will reimburse or pay Sand Surfers, LLC for these costs as well as the cost of the damaged items.
</p>
<p><br />It is solely the discretion of Sand Surfers, LLC, to determine if damaged equipment will be repaired or replaced at the renter’s expense.
</p>
<p>I agree that Sand Surfers, LLC can charge my account daily late fees for any rental not returned on the due date with or without my consent.
</p>
<p>I agree that Sand Surfers, LLC can charge the full retail price of any rental product not returned<br />within 24 hours of the expiration of the rental term without my consent.I (renters) am responsible for ensuring all equipment is used correctly and attached. I also agree to not operate the equipment under the influence of drugs or alcohol. Sand Surfers, LLC I understand that the terms of this agreement are legally binding, and I certify that I am signing this agreement, after having carefully read it, of my own free will.
</p>
<p><strong>*Warning*</strong>
</p>
<p>RISK OF DEATH OR SERIOUS INJURY: Whenever you ride a Onewheel, you risk death or serious injury from loss of control, collisions, and falls. To ride safely you must follow all instructions and warnings in the user manual.
</p>
<ul>
<li>Always wear protective equipment including an appropriate helmet and appropriate shoes when riding.
</li>
<li>Do not allow children under the age of 14 ride this product.
</li>
</ul>
<p>
</p>
<p>Signature of User or Guardian if under 18 below
</p>
<form method="post" action="/action-page.php">
<p>
<label for='name'> Enter Your Legal Name: </label><br>
<input type="text" name="name" required>
</p>
<p>
<label for='email'> Enter Your Email Address: </label><br>
<input type="text" name ="email" required>
</p>
I agree to be legally bound by this agreement and Terms of Use
<input type="submit" name="Agree" method="post">
</form>
</p>
<?php
$name = $_POST['name'];
$visitor_email = $_POST['email'];
$email_from = 'mjm@sandsurfersoceanshores.com';
$email_subject = "Onewheel Waiver Document Agreement";
$email_body = "You have a new document from $name. \n".
"Email Address: $visitor_email\n".
"Here is the Message: $message".
$to = "mjm@sandsurfersoceanshores.com";
$headers = "From: $email_from \r\n";
$headers .= "Reply-To: $visitor_email \r\n";
mail($to,$email_subject,$email_body,$headers);
?>
</body>
The result of the above code is: enter image description here
What am I missing that I am getting Page Not found instead of email being sent?