>>$MailToAddress = [EMAIL PROTECTED];

No quotes around the e-mail address.


>> $Message .= "\n\n$HTTP_POST_VARS[Footer]";
You left out quotes from "Footer"

"Dean Ouellette" <[EMAIL PROTECTED]> wrote in message
00b901c231e6$30300e10$9c89adac@yoda">news:00b901c231e6$30300e10$9c89adac@yoda...
> 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);
>   ?>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to