07092006 0731 GMT-6
Ok. You have // in front of sender, header, and your ini_set - so that
removes them from the php script.
wade
On Sun, 2006-07-09 at 02:09 -0700, onurdyh wrote:
> sendmail.php
>
> <html>
> <head>
> <title>senmail</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
>
> <body>
> <?
> $to = $_POST['email'];
> // $sender = $_POST['sender'];
> $subject = $_POST['subject'];
> $message = $_POST['message'] ;
>
> // $headers = "From: localhost\n";
> //ini_set("SMTP", "localhost");
> @mail( "$to" , "$subject" , "$message");
>
> echo "finished!";
>
> ?>
> </body>
> </html>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/CefplB/TM
--------------------------------------------------------------------~->
The php_mysql group is dedicated to learn more about the PHP/MySQL web database
possibilities through group learning.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php_mysql/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/