windows 2000
by the way my whole code is this:

<?

$msg = "Sender Name:\t$_POST[sender_name]\n";
$msg .= "Sender E-Mail:\t$_POST[sender_email]\n";
$msg .= "Message:\t$_POST[message]\n\n";

$recipient = "mailto:[EMAIL PROTECTED];
$subject = "Web Site Feedback";

$mailheaders = "From: My Web Site <> \n";
$mailheaders .= "Reply-To: $_POST[sender_email]\n\n";

mail($recipient, $subject, $msg, $mailheaders);

echo "<HTML><HEAD><TITLE>Form Sent!</TITLE></HEAD><BODY>";
echo "<H1 align=center>Thank You, $_POST[$sender_name]</H1>";
echo "<P align=center>Your feedback has been sent.</P>";
echo "</BODY></HTML>";




?>


----- Original Message -----
From: "John Wards" <[EMAIL PROTECTED]>
To: "Meltem Demirkus" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 17, 2002 4:40 PM
Subject: Re: [PHP] mail() question


> Meltem
>
> What is you system set up? OS etc?
>
> Cheers
> John Wards
> SportNetwork.net
> ----- Original Message -----
> From: "Meltem Demirkus" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 17, 2002 2:35 PM
> Subject: [PHP] mail() question
>
>
> > Hi,
> > I am trying to send an email by using the function mail().
> > Although I use  in a form of mail($to, $subject, $message, $headers), it
> is
> > giving this error:
> > Failed to Connect
> >
> > So I think I am missing something ...
> > Can anybody help me ?..
> >
> > thanks alot
> >
> > meltem demirkus
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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

Reply via email to