Sure hope someone can help.
I keep receiveing this error when trying to send mail from php on apache server.
(Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Apache\Apache2\htdocs\sendmail.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at C:\Apache\Apache2\htdocs\sendmail.php:3) in C:\Apache\Apache2\htdocs\sendmail.php on line 11)
Ok first of all I have set the php.ini
( [mail function]
SMTP=SMTP.comcast.net
sendmail_from=t4feb@comcast.net
This is the code I am uesing to send mail
<?php
$email = $_REQUEST[ 'email'] ;
$message = $_REQUEST['message'] ;
mail( "t4feb@comcast.net", "Feedback Form Results",
$message, "From: $email" );
header( "Location: mail.comcast.net");
?>
This is the HTML code I am useing
<body>
<form method="post" action="sendmail.php">
Email: <input name="email" type="text" size="20" /><br />
Message:<br />
<textarea name="message" rows="15" cols="40">
</textarea><br />
<input type="submit" />
</form>
</body>
Any help on this on going problem!
Thanks in advance



