I am a complete newbie, search the web for examples right now and use
them.
 
The host has php 3.0
 
Having problems with for submission
Right now, no error messages, but does not actually send the email.
Ideas?
 
<?
$MailToAddress = "[EMAIL PROTECTED]";
 
$MailSubject = "Get Involved List";
 
    if (!$MailFromAddress) 
            
            {
    $MailFromAddress = "$email";
    }
 
$Header = "";
$Footer = "";
?>
 
<?
 
    if (!is_array($HTTP_POST_VARS))
 
    return;
 
reset($HTTP_POST_VARS);
 
    while(list($key, $val) = each($HTTP_POST_VARS)) 
            
            {
    $GLOBALS[$key] = $val;
 
    $val=stripslashes($val);
 
    $Message .= "$key = $val\n";
    }
 
    if ($Header) 
            {
    $Message = $Header."\n\n".$Message;
    }
 
    if ($Footer) 
 
            {
    $Message .= "\n\n".$Footer;
    }
 
mail( "$MailToAddress", "$MailSubject", "$Message", "From:
$MailFromAddress");
 
?>


Reply via email to