WintersTears
Technical User
Ok, I'm sorry if this is all going to sound silly and simple, but I'm completely lost and I lack simple brain functions. So I'm probably going to add a bunch of informaiton that is completely irrelevant too.
I have a form that is connected to my Access Database. There are 3 .asp pages and one .php page. Page 1.asp is where the user inputs their information; Page 2.asp pulls that info, checks that all require info is present and asks user to confirm; Page 3.asp pulls the info over again, displays who the email info (from, to, cc, subject) and asks to submit, and Page 4.php has the script to actually send the info.
The problem is that the last page, the php, is not pulling that information over so it can send an email. I think its basically saying "email nothing to nobody". (But, I'm probably wrong) Here is the code:
<?
//Send an Email
$mailheaders = "From: $MailFrom\n";
$mailheaders .= "Reply-To: $MailFrom\n\n";
echo $mailheaders;
$MailAddress = $MailAddress.$MailCC;
echo "<br>to:";
echo $MailAddress;
echo "<br>subject:";
echo $MailSubject;
echo "<br>body:";
echo $MailBody;
mail($MailAddress, $MailSubject, $MailBody, $mailheaders);
?>
Can somebody please get w/ me and see if you can help my poor brainless soul. Thank you!!
I have a form that is connected to my Access Database. There are 3 .asp pages and one .php page. Page 1.asp is where the user inputs their information; Page 2.asp pulls that info, checks that all require info is present and asks user to confirm; Page 3.asp pulls the info over again, displays who the email info (from, to, cc, subject) and asks to submit, and Page 4.php has the script to actually send the info.
The problem is that the last page, the php, is not pulling that information over so it can send an email. I think its basically saying "email nothing to nobody". (But, I'm probably wrong) Here is the code:
<?
//Send an Email
$mailheaders = "From: $MailFrom\n";
$mailheaders .= "Reply-To: $MailFrom\n\n";
echo $mailheaders;
$MailAddress = $MailAddress.$MailCC;
echo "<br>to:";
echo $MailAddress;
echo "<br>subject:";
echo $MailSubject;
echo "<br>body:";
echo $MailBody;
mail($MailAddress, $MailSubject, $MailBody, $mailheaders);
?>
Can somebody please get w/ me and see if you can help my poor brainless soul. Thank you!!