Page Redirect has stopped working on several page
Here's the code I am using. What might be wrong? Thanks...JohnJ
<?php require_once("webassist/email/WA_Email.php"); ?>
<?php
if ((((isset($_POST["sendMsg"]))?$_POST["sendMsg"]:"") != "")) { //WA Universal Email
$Email = new WA_Email("contactwebmasterWA");
$Email->Redirect = "EMailSentContact.php";
$Email->From = "no-reply@ddddd.org";
$Email->Method = "smtp";
$Email->Host = "smtp.sitepppppp.com";
$Email->Port = "ppp";
$Email->SMTPAuth = true;
$Email->Username = "no-reply@ddddd.org";
$Email->Password = "*xxxxxx";
$Email->addTo("".((isset($_POST["SendTo"]))?$_POST["SendTo"]:"") ."");
$Email->addBCC("developer@usna66.org");
$Email->BodyFile = "webassist/email/templates/tttttttt.php";
if (function_exists("rel2abs") && $Email->Redirect) $Email->Redirect = $Email->Redirect?rel2abs($Email->Redirect,dirname(__FILE__)):"";
for ($emailGroup=0; $emailGroup<sizeof($Email->To); $emailGroup++) {
$Email->Subject = "".((isset($_POST["Subject"]))?$_POST["Subject"]:"") ."";
$Email->send($emailGroup);
}
$Email->close();
}
?>