Looks like you're missing a "


>  $mailheaders = "From: My Web Site\n;

You've probably already seent that though.

John

---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aliquando et insanire iucundum est


> -----Original Message-----
> From: rodney [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, August 04, 2001 12:40 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] I need some help or a .45 magnum
> 
> 
> Hello,
> 
> I'm new to php. I'm having trouble making the mail function work.
> I wrote a simple mail script that supports mail delivery when a user
> fills out a form. It's not working.
> 
> The editor tells me this is the problem:
> 
>      mail("[EMAIL PROTECTED]", "Feedback", $msg, $mailheaders);
> 
> However I don't see it.
> 
> Here is the complete script:
> 
> <?php_tracking_vars?>
> <?php
>  $msg = "Sender's Full Name:\t$sendor_name\n";
>  $msg .= "Sender's Email:\t$sender_email\n";
>  $msg .= "Did you like this site?\t$like_site\n";
>  $msg .= "Additional Message:\t$message\n\n";
> 
>  $mailheaders = "From: My Web Site\n;
>  $mailheaders .= "Reply-To: $sender_email\n\n";
> 
> if (($sender_email == "") || ($message == "")) {
>    header(location: http://127.0.0.1/show.feedback.html";);
>    exit;
> }
>  mail("[EMAIL PROTECTED]", "Feedback", $msg, $mailheaders);
> 
>  echo "<H1 align=center>Thank you.$sender_name</H1>";
>  echo "<P align=center>We dig you feedback.</P>";
> 
> ?>
> 
> 
> I am stuck like chuck on this one. Any help is appreciated.
> 
> rw
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: 
> [EMAIL PROTECTED]
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to