You have a space at line 3, remove that space.
both server behavior are set to redirect after sending the email, this will cause only the first eemail to be sent.
try changing your code to:
<?php require_once("WA_Universal_Email/Mail_PHP.php"); ?>
<?php require_once("WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
if ((isset($_POST["Submit"]))) {
//WA Universal Email object="Mail"
//Send Loop Once Per Entry
$RecipientEmail = "".((isset($_POST["ToField"]))?$_POST["ToField"]:"") ."";include("WA_Universal_Email/WAUE_formContentNEW_5.php");
//Send Mail All Entries
if (""!="") {
header("Location:");
}
}
?>
<?php
if ((isset($_POST["Submit"]))) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "".((isset($_POST["FromField"]))?$_POST["FromField"]:"") ."";include("WA_Universal_Email/WAUE_NewsletterSignUp_5.php");
//Send Mail All Entries
if ("thanks.html"!="") {
header("Location: thanks.html");
}
}
?>
if you still have problems add the following at line 1 to see if there are any php errors occurring:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>