This form will not send the email to my account and I used other forms to submit emails using examples that I googled but I can't get this form to process the request. Can someone tell me what i'm missing?
my PHP Form:
PHP Script:
my PHP Form:
Code:
<html> <HEAD> <TITLE>Demetrius's Customer Form</TITLE> </HEAD> <BODY BGCOLOR="#F6B28F"> <HR> <H1><FONT FACE="Arial"><FONT COLOR="004E4A">Demetrius's Customer Form</FONT></H1> <HR> <p>In order to serve you, please tell us your problem:</p> <form method="post" action="mycustomeremail.php"> <H3>THanks for visiting my customer service site I am so glad that i can serve you. </H3> <BR>Report your issue <fieldset> <legend>Send Email</legend> <p>Email: <input type="text" name="email" size="60"></p> <p><label for="subject">Subject:</label><input type="text" id="subject"></p> <p><label for="message">Message:</label><br/> <TEXTAREA id="message" name="message" rows="10" cols="70" WRAP="hard"> </TEXTAREA> <p><input type=submit value="Submit"> <input type=reset value="Reset"></p> </FORM> </BODY> </HTML>
Code:
<html> <head> <title>My Customer Email</title> </head> <body> <?php $msg = "Thank you for allowing us to server you."; $today = date("02/16/2011"); $msg = $msg . "<br/>" . $today; $name = $_POST["name"]; $email = $_POST["email"]; echo $name . " (" . $email . ")<br /> " . $msg; echo $msg; //display message ?> </body> </html>
Comment