Hi,
This is the error:
Warning: mail(): "sendmail_from" not set in php.ini or custom "From:"
header missing in c:\lserver\test\sendform.php on line 10
This is the code:
<?
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
$from = "From: $email\r\n";
mail( "we*********@myaddress.com", "Question", $message, $from );
?>
This is from php.ini
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = me@localhost.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -
i").
;sendmail_path =
Using Apache 1.3.28 / PhP 4.3.2 on Windows XP. So far other (simple)
scripts worked fine.
Tried everything. Searched the web, there are more people having this
problem, but couldn't find a solution (nor could they....)
Hope anybody can help, I'm getting crazy.........
Thanks,
Edo.