Looked at documentation, should be fine

From: Date: Tue, 23 Jul 2002 01:13:42 +0000
Subject: Looked at documentation, should be fine
Groups: php.general 
Request: Send a blank email to php-general+get-108995@lists.php.net to get a copy of this message
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@here.com; $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@here.com'; } $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); ?>

« previous php.general (#108995) next »