Email not sent upon form submit
I am using Universal Email to send a registration confirmation upon submission of a registration form. Everything works great but no email is ever sent to either the TO or CC recipients. Can't seem to figure out why. UE works fine when used with the "forgot password" function.
Not sure that the below code is of any help, but can anyone enlighten me as to what some of a the possible causes for this would be?
Thanks.
<?php
if (($_SERVER["REQUEST_METHOD"] == "POST")) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "".$row_WAATKusers['UserEmail'] ."";include("WA_Universal_Email/WAUE_users_Registration_1.php");
//Send Mail All Entries
if (""!="") {
header("Location: ");
}
}
?>