i just moved a domain from windows 2003 enterprise server to apache.
i have a form email script from web assist with mail going to me and to person filling out form. works fine but sends 2 duplicate emails to both.
thanks for your help
jbwebworks
'mail for windows' email object
//here is code on the page
<?php require_once("WA_Universal_Email/Mail_for_Windows_PHP.php"); ?>
<?php require_once("WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
if ((isset($POST["Submit1"]))) {
//WA Universal Email object="Mail for Windows"
//Send Loop Once Per Entry
$RecipientEmail = "webmaster@bellchemicalservice.com";include("WA_Universal_Email/WAUE_index_1.php");
$RecipientEmail = "".((isset($POST["email1"]))?$_POST["email1"]:"") ."";include("WA_Universal_Email/WAUE_index_1.php");
//Send Mail All Entries
if ("inquiryreceived.htm"!="") {
header("Location: inquiryreceived.htm");
}
}
?>