I am running this on php 3.0
I have read every document I could find on the web, and cant figure out
why this form submission is not working.
 
No errors, just does not sent the e-mail to my account
 
<?php
If ('GET' == $HTTP_SERVER_VARS['REQUEST_METHOD']) {
  $MailToAddress = [EMAIL PROTECTED];
  $MailSubject = 'Get Involved List';
  }
?>
 
<? 
If ('POST' == $HTTP_SERVER_VARS['REQUEST_METHOD']) 
  if (isset($HTTP_POST_VARS['email'])) {
    $MailFromAddress = $HTTP_POST_VARS['email']; 
  } else {
    $MailFromAddress = '[EMAIL PROTECTED]';  
  }
  
  $Message = $HTTP_POST_VARS['Message']; 
  if (isset($HTTP_POST_VARS['Header'])) {
     $Message = $HTTP_POST_VARS['Header'] . "\n\n$Message";  
  }
 
  if (isset($HTTP_POST_VARS['Footer'])) {
    $Message .= "\n\n$HTTP_POST_VARS[Footer]";
  }
 
  mail($MailToAddress, $MailSubject, $Message, $MailFromAddress); 
  ?>


Reply via email to