Not getting content from input box in email
This is my first time using Universal Email I have a simple input box and a submit button everything seems to work ok and I’m sending everything up to the server including the WA_Universal_Email folder. When I hit submit I’m receiving the email in my email box however the content from the input doesn’t appear in the email what am I doing wrong. I’m sure it’s simple solution.
Sample code
<?php require_once("../WA_Universal_Email/mail_PHP.php"); ?>
<?php require_once("../WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
if (($_SERVER["REQUEST_METHOD"] == "POST")) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "promomusic@gmail.com";include("../WA_Universal_Email/WAUE_test_1.php");
//Send Mail All Entries
if ("../ContactAcademic/thankyou.php"!="") {
header("Location: ../ContactAcademic/thankyou.php");
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<p>
</p>
<form action="" method="post" name="emailContact" id="emailContact" onsubmit="">
<p>
<label>
<input type="text" name="contact_name" id="contact_name" />
</label>
</p>
<p>
<input type="submit" value="Submit" class="inputButton"/>
</p>
</form>
<p></p>
</body>
</html>